(as-path k)
(distinct-by ex coll)
Returns a lazy sequence of the (ex elements) of coll with duplicates removed
Returns a lazy sequence of the (ex elements) of coll with duplicates removed
(do-validation {:keys [a parent] :as input} value)
validate value and notify parent notifies obj with [:input/error attr error-msg input] when an error is found notifies obj with [:input/validated attr value input] when no error is found
validate value and notify parent notifies obj with [:input/error attr error-msg input] when an error is found notifies obj with [:input/validated attr value input] when no error is found
(dom-checkbox obj attr)
(dom-checkbox obj attr attrs)
(dom-input obj attr type attrs)
(dom-input-set-value {:keys [a input-type] :as this} new-values)
(dom-name attr)
(dom-radio obj attr input-type v)
(dom-radio obj attr input-type v attrs)
(dom-select obj attr type options)
(dom-select obj attr type options select-attrs)
(dom-select-grouped obj attr type options)
(dom-select-grouped obj attr type options select-attrs)
(dom-select-multiple obj attr type options)
(dom-select-multiple obj attr type options select-attrs)
(dom-select-multiple? obj)
(dom-select-options {:keys [input-type group] :as this} options selected-set)
(dom-select-options-flat input-type options selected-set)
(dom-select-options-grouped input-type options selected-set)
(dom-textarea obj attr type attrs)
(future-node oref attr dom-key events-key placeholder)
lazily create a dom node when attr first appears on object
lazily create a dom node when attr first appears on object
(get-error {:keys [a parent] :as input} value)
get error message for value (nil if value is accepted)
get error message for value (nil if value is accepted)
(group-select-options items group-key value-key label-fn)
transforms a list of maps into [[group-key [[value-key label] [value-key label]]] ...]
transforms a list of maps into [[group-key [[value-key label] [value-key label]]] ...]
(-decode this string)
decode from string to whatever
decode from string to whatever
(-encode this val)
encode from whatever to string to use in dom
encode from whatever to string to use in dom
(index-of items check-fn)
(keyed-timeout key callback)
(keyed-timeout key callback time-ms)
(never-has-errors obj field value)
(process-dom-input {:keys [parent a input-type] :as this} ev-type)
(quick-validation {:keys [input-type] :as this})
(self-destruct timeout)
(self-destruct timeout destruct-fn)
behavior to self destruct objects on click or timeout
useful for notifications and such
Example: (so/define ::my-object :dom (fn ...) :behaviors [(ui/self-destruct 3000)])
this will so/destroy! (the default) the object 3000ms after it entered the dom
behavior to self destruct objects on click or timeout useful for notifications and such Example: (so/define ::my-object :dom (fn ...) :behaviors [(ui/self-destruct 3000)]) this will so/destroy! (the default) the object 3000ms after it entered the dom
(store-locally atm name)
(timeout delay callback)
(with-timeout ms callback)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close