MACROS for generating CLJS code. See dom.cljs
MACROS for generating CLJS code. See dom.cljs
Client-side DOM macros and functions. For isomorphic (server) support, see also fulcro.client.dom-server
Client-side DOM macros and functions. For isomorphic (server) support, see also fulcro.client.dom-server
(clj-map->js-object m)
Recursively convert a map to a JS object. For use in macro expansion.
Recursively convert a map to a JS object. For use in macro expansion.
(convert-props props)
Given props, which can be nil, a js-obj or a clj map: returns a js object.
Given props, which can be nil, a js-obj or a clj map: returns a js object.
(create-element tag)
(create-element tag opts)
(create-element tag opts & children)
Create a DOM element for which there exists no corresponding function.
Useful to create DOM elements not included in React.DOM. Equivalent
to calling js/React.createElement
Create a DOM element for which there exists no corresponding function. Useful to create DOM elements not included in React.DOM. Equivalent to calling `js/React.createElement`
(element? x)
Returns true if the given arg is a react element.
Returns true if the given arg is a react element.
(macro-create-element type args)
(macro-create-element type args csskw)
Used internally by element generation.
Used internally by element generation.
(macro-create-element* arr)
Used internally by the DOM element generation.
Used internally by the DOM element generation.
(macro-create-wrapped-form-element opts)
Used internally by element generation.
Used internally by element generation.
(node component)
(node component name)
Returns the dom node associated with a component's React ref.
Returns the dom node associated with a component's React ref.
(render component el)
Equivalent to React.render
Equivalent to React.render
(render-to-str c)
Equivalent to React.renderToString
Equivalent to React.renderToString
(syntax-error and-form ex)
Format a DOM syntax error
Format a DOM syntax error
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
Low-level form input, with no syntactic sugar. Used internally by DOM macros
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close