Support for rendering DOM from CLJ. Must be separate to enable same-named macros in CLJS for performance.
Usage: Create your UI in CLJC files, and require with conditional reader tags:
(ns app.ui (:require #?(:clj [fulcro.client.dom-server :as dom] :cljs [fulcro.client.dom :as dom])))
Support for rendering DOM from CLJ. Must be separate to enable same-named macros in CLJS for performance.
Usage: Create your UI in CLJC files, and require with conditional reader tags:
(ns app.ui
(:require
#?(:clj [fulcro.client.dom-server :as dom] :cljs [fulcro.client.dom :as dom])))(a & args)(abbr & args)(address & args)(append! sb s0)(append! sb s0 s1)(append! sb s0 s1 s2)(append! sb s0 s1 s2 s3)(append! sb s0 s1 s2 s3 s4)(append! sb s0 s1 s2 s3 s4 & rest)(area & args)(article & args)(aside & args)(audio & args)(b & args)(base & args)(bdi & args)(bdo & args)(big & args)(blockquote & args)(body & args)(br & args)(button & args)(camel->other-case sep)(canvas & args)(caption & args)(circle & args)(cite & args)(clipPath & args)(code & args)(coerce-attr-key k)(col & args)(colgroup & args)(component? x)Returns true if the given arg is a server-side react component.
Returns true if the given arg is a server-side react component.
(container-tag? tag content)Returns true if the tag has content or is not a void tag. In non-HTML modes, all contentless tags are assumed to be void tags.
Returns true if the tag has content or is not a void tag. In non-HTML modes, all contentless tags are assumed to be void tags.
(create-element tag)(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`
(data & args)(datalist & args)(dd & args)(defs & args)(del & args)(details & args)(dfn & args)(dialog & args)(div & args)(dl & args)(dt & args)(element {:keys [tag attrs react-key children] :as elem})Creates a dom node.
Creates a dom node.
(element? x)Returns true if the given arg is a server-side react element.
Returns true if the given arg is a server-side react element.
(ellipse & args)(em & args)(embed & args)(escape-html s)(fieldset & args)(figcaption & args)(figure & args)(footer & args)(form & args)(g & args)(gen-all-tags)(gen-tag-fn tag)(h1 & args)(h2 & args)(h3 & args)(h4 & args)(h5 & args)(h6 & args)(head & args)(header & args)(hr & args)(html & args)(i & args)(iframe & args)(img & args)(input & args)(ins & args)(kbd & args)(keygen & args)(label & args)(legend & args)(li & args)(line & args)(linearGradient & args)(link & args)(main & args)(map & args)(mark & args)(mask & args)(menu & args)(menuitem & args)(meta & args)(meter & args)(nav & args)(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.
(normalize-styles! sb styles)(noscript & args)(object & args)(ol & args)(optgroup & args)(option & args)(output & args)(p & args)(param & args)(path & args)(pattern & args)(picture & args)(polygon & args)(polyline & args)(pre & args)(progress & args)(q & args)(radialGradient & args)(rect & args)(render-attr-map! sb tag attrs)(render-attribute! sb [key value])(render-element! {:keys [tag attrs children]} react-id sb)Render a tag vector as a HTML element string.
Render a tag vector as a HTML element string.
(render-styles! sb styles)(render-to-str x)(render-unescaped-html! sb m)(render-xml-attribute! sb name value)(rp & args)(rt & args)(ruby & args)(s & args)(samp & args)(script & args)(section & args)(select & args)(small & args)(source & args)(span & args)(stop & args)(strong & args)(style & args)(sub & args)(summary & args)(sup & args)(svg & args)(table & args)(tbody & args)(td & args)(text & args)(textarea & args)(tfoot & args)(th & args)(thead & args)(time & args)(title & args)(tr & args)(track & args)(tspan & args)(u & args)(ul & args)(use & args)(var & args)(video & args)(wbr & args)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |