(attributes attrs)
(controlled-input? type props)
Returns true if type
and props
are used a controlled input,
otherwise false.
Returns true if `type` and `props` are used a controlled input, otherwise false.
(create-element type props & children)
Create a React element. Returns a JavaScript object when running under ClojureScript, and a om.dom.Element record in Clojure.
Create a React element. Returns a JavaScript object when running under ClojureScript, and a om.dom.Element record in Clojure.
(element element)
Render an element vector as a HTML element.
Render an element vector as a HTML element.
(element-class type props)
Returns either type
or a wrapped element for controlled
inputs.
Returns either `type` or a wrapped element for controlled inputs.
(interpret this)
Interpret a Clojure data structure as a React fn call.
Interpret a Clojure data structure as a React fn call.
(lazy-load-wrappers)
(update-state component next-props property value)
Updates the state of the wrapped input element.
Updates the state of the wrapped input element.
(wrap-form-element element property)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close