Liking cljdoc? Tell your friends :D

bluegenes.components.ui.constraint


applies-to?cljs

(applies-to? type op)

Given a field type (ex java.lang.Double) return all constraint maps that support that type

Given a field type (ex java.lang.Double) return all constraint maps that support that type
sourceraw docstring

constraintcljs

(constraint & {:keys [model path]})
source

constraint-labelcljs

(constraint-label op)

Return the label for a given operator. This looks a little complicated because we want our constraints to have order so we need to filter the collection, get the first constraint map (they should all be unique anyway) then gets its label

Return the label for a given operator.
This looks a little complicated because we want our constraints to have order
so we need to filter the collection, get the first constraint map (they should all be unique anyway)
then gets its label
sourceraw docstring

constraint-operatorcljs

(constraint-operator)
source

constraint-text-inputcljs

(constraint-text-input)

A component that represents the freeform textbox for String / Lookup constraints

A component that represents the freeform textbox for String / Lookup constraints
sourceraw docstring

has-text?cljs

(has-text? string v)

Return true v contains a string

Return true v contains a string
sourceraw docstring

has-three-matching-letters?cljs

(has-three-matching-letters? string v)

Return true if v contains a string and that string is 3 or more characters. (Silly but it speeds up text filtering)

Return true if v contains a string and that string is 3 or more characters.
(Silly but it speeds up text filtering)
sourceraw docstring

not-one-of?cljs

source

one-of?cljs

(one-of? value col)
source

operatorscljs

source

set-text-valuecljs

(set-text-value node value)
source

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

× close