(filter-items group-fn label-fn filter-text)
Filter a list of items based on a filter string using plain string searches (case insensitive). Less powerful than regex's but no confusion with reserved characters
Filter a list of items based on a filter string using plain string searches (case insensitive). Less powerful than regex's but no confusion with reserved characters
(filter-items-regex group-fn label-fn filter-text)
Filter a list of items based on a filter string using regex's (case insensitive). More powerful but can cause confusion for users entering reserved characters such as [ ] * + . ( ) etc.
Filter a list of items based on a filter string using regex's (case insensitive). More powerful but can cause confusion for users entering reserved characters such as [ ] * + . ( ) etc.
(filter-text-box *filter-text placeholder *warning-message disabled? parts)
Base function (before lifecycle metadata) to render a filter text box
Base function (before lifecycle metadata) to render a filter text box
(group-heading-item)
Render a group heading and set up appropriate mouse events
Render a group heading and set up appropriate mouse events
(items-with-group-headings items group-fn id-fn)
Split a list of maps by a group key then return both the group
Split a list of maps by a group key then return both the group
(list-box &
{:keys [items id-fn label-fn group-fn disabled? *current-item-id
group-heading-selected? click-callback double-click-callback
filter-choices-text src]})
Render a list box which can be a single list or a grouped list
Render a list box which can be a single list or a grouped list
(list-item)
Render a list item and set up appropriate mouse events
Render a list item and set up appropriate mouse events
(multi-select & {:keys [model sort-fn src] :or {sort-fn identity} :as args})
Render a multi-select 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 multi-select 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"}]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close