Liking cljdoc? Tell your friends :D

fulcro.client.dom-server

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])))
raw docstring

aclj

(a & args)

abbrclj

(abbr & args)

addressclj

(address & args)

append!clj

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

areaclj

(area & args)

articleclj

(article & args)

asideclj

(aside & args)

audioclj

(audio & args)

bclj

(b & args)

baseclj

(base & args)

bdiclj

(bdi & args)

bdoclj

(bdo & args)

bigclj

(big & args)

blockquoteclj

(blockquote & args)

bodyclj

(body & args)

brclj

(br & args)

buttonclj

(button & args)

camel->colon-betweenclj


camel->kebab-caseclj


camel->other-caseclj

(camel->other-case sep)

canvasclj

(canvas & args)

captionclj

(caption & args)

circleclj

(circle & args)

citeclj

(cite & args)

clipPathclj

(clipPath & args)

codeclj

(code & args)

coerce-attr-keyclj

(coerce-attr-key k)

colclj

(col & args)

colgroupclj

(colgroup & args)

colon-between-attrsclj


component?clj

(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.
raw docstring

container-tag?clj

(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.
raw docstring

create-elementclj

(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`
raw docstring

dataclj

(data & args)

datalistclj

(datalist & args)

ddclj

(dd & args)

defsclj

(defs & args)

delclj

(del & args)

detailsclj

(details & args)

dfnclj

(dfn & args)

dialogclj

(dialog & args)

divclj

(div & args)

dlclj

(dl & args)

dtclj

(dt & args)

elementclj

(element {:keys [tag attrs react-key children] :as elem})

Creates a dom node.

Creates a dom node.
raw docstring

element?clj

(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.
raw docstring

ellipseclj

(ellipse & args)

emclj

(em & args)

embedclj

(embed & args)

escape-htmlclj

(escape-html s)

fieldsetclj

(fieldset & args)

figcaptionclj

(figcaption & args)

figureclj

(figure & args)

(footer & args)

formclj

(form & args)

gclj

(g & args)

gen-all-tagsclj/smacro

(gen-all-tags)

gen-tag-fnclj

(gen-tag-fn tag)

h1clj

(h1 & args)

h2clj

(h2 & args)

h3clj

(h3 & args)

h4clj

(h4 & args)

h5clj

(h5 & args)

h6clj

(h6 & args)

(head & args)

(header & args)

hrclj

(hr & args)

htmlclj

(html & args)

iclj

(i & args)

iframeclj

(iframe & args)

imgclj

(img & args)

inputclj

(input & args)

insclj

(ins & args)

kbdclj

(kbd & args)

kebab-case-attrsclj


key-escape-lookupclj


keygenclj

(keygen & args)

labelclj

(label & args)

legendclj

(legend & args)

liclj

(li & args)

lineclj

(line & args)

linearGradientclj

(linearGradient & args)

(link & args)

lower-case-attrsclj


mainclj

(main & args)

mapclj

(map & args)

markclj

(mark & args)

maskclj

(mask & args)

(menu & args)

(menuitem & args)

metaclj

(meta & args)

meterclj

(meter & args)

(nav & args)

no-suffixclj


nodeclj

(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.
raw docstring

normalize-styles!clj

(normalize-styles! sb styles)

noscriptclj

(noscript & args)

objectclj

(object & args)

olclj

(ol & args)

optgroupclj

(optgroup & args)

optionclj

(option & args)

outputclj

(output & args)

pclj

(p & args)

paramclj

(param & args)

pathclj

(path & args)

patternclj

(pattern & args)

pictureclj

(picture & args)

polygonclj

(polygon & args)

polylineclj

(polyline & args)

preclj

(pre & args)

progressclj

(progress & args)

qclj

(q & args)

radialGradientclj

(radialGradient & args)

react-text-nodeclj

(react-text-node s)

HTML text node

HTML text node
raw docstring

rectclj

(rect & args)

render-attr-map!clj

(render-attr-map! sb tag attrs)

render-attribute!clj

(render-attribute! sb [key value])

render-element!clj

(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.
raw docstring

render-styles!clj

(render-styles! sb styles)

render-to-strclj

(render-to-str x)

render-unescaped-html!clj

(render-unescaped-html! sb m)

render-xml-attribute!clj

(render-xml-attribute! sb name value)

rpclj

(rp & args)

rtclj

(rt & args)

rubyclj

(ruby & args)

sclj

(s & args)

sampclj

(samp & args)

scriptclj

(script & args)

sectionclj

(section & args)

selectclj

(select & args)

smallclj

(small & args)

sourceclj

(source & args)

spanclj

(span & args)

stopclj

(stop & args)

strongclj

(strong & args)

styleclj

(style & args)

subclj

(sub & args)

summaryclj

(summary & args)

supclj

(sup & args)

svgclj

(svg & args)

tableclj

(table & args)

tbodyclj

(tbody & args)

tdclj

(td & args)

textclj

(text & args)

text-nodeclj

(text-node s)

HTML text node

HTML text node
raw docstring

textareaclj

(textarea & args)

tfootclj

(tfoot & args)

thclj

(th & args)

theadclj

(thead & args)

timeclj

(time & args)

titleclj

(title & args)

trclj

(tr & args)

trackclj

(track & args)

tspanclj

(tspan & args)

uclj

(u & args)

ulclj

(ul & args)

useclj

(use & args)

varclj

(var & args)

videoclj

(video & args)

wbrclj

(wbr & args)

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

× close