Liking cljdoc? Tell your friends :D

re-com.dropdown


auto-completecljs

(auto-complete & {:keys [choices text sel-start sel-end ins]})

Return text/selection map after insertion in place of selection & completion

Return text/selection map after insertion in place of selection & completion
raw docstring

capitalize-first-lettercljs

(capitalize-first-letter text)

Capitalize the first letter leaving the rest as is

Capitalize the first letter leaving the rest as is
raw docstring

filter-choices-by-keywordcljs

(filter-choices-by-keyword choices keyword value)

Filter a list of choices extra data within the choices vector

Filter a list of choices extra data within the choices vector
raw docstring

handle-free-text-insertioncljs

(handle-free-text-insertion event
                            ins
                            auto-complete?
                            capitalize?
                            choices
                            internal-model
                            free-text-sel-range
                            free-text-change)

make-choice-itemcljs

(make-choice-item id-fn render-fn callback internal-model opt)

show-selected-itemcljs

(show-selected-item node)

single-dropdowncljs

(single-dropdown &
                 {:keys [choices model regex-filter? debounce-delay just-drop?]
                  :or {debounce-delay 250}
                  :as args})

Render a single dropdown component which emulates the bootstrap-choosen style. Sample choices object: [{:id "AU" :label "Australia" :group "Group 1"} {:id "US" :label "United States" :group "Group 1"} {:id "GB" :label "United Kingdom" :group "Group 1"} {:id "AF" :label "Afghanistan" :group "Group 2"}]

Render a single dropdown component which emulates the bootstrap-choosen style. Sample choices object:
[{:id "AU" :label "Australia"      :group "Group 1"}
 {:id "US" :label "United States"  :group "Group 1"}
 {:id "GB" :label "United Kingdom" :group "Group 1"}
 {:id "AF" :label "Afghanistan"    :group "Group 2"}]
raw docstring

single-dropdown-args-desccljs


single-dropdown-partscljs


single-dropdown-parts-desccljs

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close