Liking cljdoc? Tell your friends :D

shadow.ui


as-pathcljs

(as-path k)
source

distinct-bycljs

(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
sourceraw docstring

do-validationcljs

(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
sourceraw docstring

dom-checkboxcljs

(dom-checkbox obj attr)
(dom-checkbox obj attr attrs)
source

dom-inputcljs

(dom-input obj attr type attrs)
source

dom-input-behaviorcljs

source

dom-input-set-valuecljs

(dom-input-set-value {:keys [a input-type] :as this} new-values)
source

dom-namecljs

(dom-name attr)
source

dom-radiocljs

(dom-radio obj attr input-type v)
(dom-radio obj attr input-type v attrs)
source

dom-selectcljs

(dom-select obj attr type options)
(dom-select obj attr type options select-attrs)
source

dom-select-groupedcljs

(dom-select-grouped obj attr type options)
(dom-select-grouped obj attr type options select-attrs)
source

dom-select-multiplecljs

(dom-select-multiple obj attr type options)
(dom-select-multiple obj attr type options select-attrs)
source

dom-select-multiple?cljs

(dom-select-multiple? obj)
source

dom-select-optionscljs

(dom-select-options {:keys [input-type group] :as this} options selected-set)
source

dom-select-options-flatcljs

(dom-select-options-flat input-type options selected-set)
source

dom-select-options-groupedcljs

(dom-select-options-grouped input-type options selected-set)
source

dom-textareacljs

(dom-textarea obj attr type attrs)
source

future-nodecljs

(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
sourceraw docstring

get-errorcljs

(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)
sourceraw docstring

group-select-optionscljs

(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]]] ...]
sourceraw docstring

IInputTypecljsprotocol

-decodecljs

(-decode this string)

decode from string to whatever

decode from string to whatever

-encodecljs

(-encode this val)

encode from whatever to string to use in dom

encode from whatever to string to use in dom
source

index-ofcljs

(index-of items check-fn)
source

int-typecljs

source

keyed-timeoutcljs

(keyed-timeout key callback)
(keyed-timeout key callback time-ms)
source

keyword-typecljs

source

local-storagecljs

source

never-has-errorscljs

(never-has-errors obj field value)
source

process-dom-inputcljs

(process-dom-input {:keys [parent a input-type] :as this} ev-type)
source

quick-validationcljs

(quick-validation {:keys [input-type] :as this})
source

self-destructcljs

(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
sourceraw docstring

store-locallycljs

(store-locally atm name)
source

text-typecljs

source

timeoutcljs

(timeout delay callback)
source

timeoutscljs

source

update-on-changecljs

source

with-timeoutcljs

(with-timeout ms callback)
source

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

× close