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

abbrclj

(abbr & args)
source

addressclj

(address & args)
source

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

areaclj

(area & args)
source

articleclj

(article & args)
source

asideclj

(aside & args)
source

audioclj

(audio & args)
source

bclj

(b & args)
source

baseclj

(base & args)
source

bdiclj

(bdi & args)
source

bdoclj

(bdo & args)
source

bigclj

(big & args)
source

blockquoteclj

(blockquote & args)
source

bodyclj

(body & args)
source

brclj

(br & args)
source

buttonclj

(button & args)
source

camel->colon-betweenclj

source

camel->kebab-caseclj

source

camel->other-caseclj

(camel->other-case sep)
source

canvasclj

(canvas & args)
source

captionclj

(caption & args)
source

circleclj

(circle & args)
source

citeclj

(cite & args)
source

clipPathclj

(clipPath & args)
source

codeclj

(code & args)
source

coerce-attr-keyclj

(coerce-attr-key k)
source

colclj

(col & args)
source

colgroupclj

(colgroup & args)
source

colon-between-attrsclj

source

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.
sourceraw 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.
sourceraw 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`
sourceraw docstring

dataclj

(data & args)
source

datalistclj

(datalist & args)
source

ddclj

(dd & args)
source

defsclj

(defs & args)
source

delclj

(del & args)
source

detailsclj

(details & args)
source

dfnclj

(dfn & args)
source

dialogclj

(dialog & args)
source

divclj

(div & args)
source

dlclj

(dl & args)
source

dtclj

(dt & args)
source

elementclj

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

Creates a dom node.

Creates a dom node.
sourceraw 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.
sourceraw docstring

ellipseclj

(ellipse & args)
source

emclj

(em & args)
source

embedclj

(embed & args)
source

escape-htmlclj

(escape-html s)
source

fieldsetclj

(fieldset & args)
source

figcaptionclj

(figcaption & args)
source

figureclj

(figure & args)
source

(footer & args)
source

formclj

(form & args)
source

gclj

(g & args)
source

gen-all-tagsclj/smacro

(gen-all-tags)
source

gen-tag-fnclj

(gen-tag-fn tag)
source

h1clj

(h1 & args)
source

h2clj

(h2 & args)
source

h3clj

(h3 & args)
source

h4clj

(h4 & args)
source

h5clj

(h5 & args)
source

h6clj

(h6 & args)
source

(head & args)
source

(header & args)
source

hrclj

(hr & args)
source

htmlclj

(html & args)
source

iclj

(i & args)
source

iframeclj

(iframe & args)
source

imgclj

(img & args)
source

inputclj

(input & args)
source

insclj

(ins & args)
source

kbdclj

(kbd & args)
source

kebab-case-attrsclj

source

key-escape-lookupclj

source

keygenclj

(keygen & args)
source

labelclj

(label & args)
source

legendclj

(legend & args)
source

liclj

(li & args)
source

lineclj

(line & args)
source

linearGradientclj

(linearGradient & args)
source

(link & args)
source

lower-case-attrsclj

source

mainclj

(main & args)
source

mapclj

(map & args)
source

markclj

(mark & args)
source

maskclj

(mask & args)
source

(menu & args)
source

(menuitem & args)
source

metaclj

(meta & args)
source

meterclj

(meter & args)
source

(nav & args)
source

no-suffixclj

source

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.
sourceraw docstring

normalize-styles!clj

(normalize-styles! sb styles)
source

noscriptclj

(noscript & args)
source

objectclj

(object & args)
source

olclj

(ol & args)
source

optgroupclj

(optgroup & args)
source

optionclj

(option & args)
source

outputclj

(output & args)
source

pclj

(p & args)
source

paramclj

(param & args)
source

pathclj

(path & args)
source

patternclj

(pattern & args)
source

pictureclj

(picture & args)
source

polygonclj

(polygon & args)
source

polylineclj

(polyline & args)
source

preclj

(pre & args)
source

progressclj

(progress & args)
source

qclj

(q & args)
source

radialGradientclj

(radialGradient & args)
source

react-text-nodeclj

(react-text-node s)

HTML text node

HTML text node
sourceraw docstring

rectclj

(rect & args)
source

render-attr-map!clj

(render-attr-map! sb tag attrs)
source

render-attribute!clj

(render-attribute! sb [key value])
source

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.
sourceraw docstring

render-styles!clj

(render-styles! sb styles)
source

render-to-strclj

(render-to-str x)
source

render-unescaped-html!clj

(render-unescaped-html! sb m)
source

render-xml-attribute!clj

(render-xml-attribute! sb name value)
source

rpclj

(rp & args)
source

rtclj

(rt & args)
source

rubyclj

(ruby & args)
source

sclj

(s & args)
source

sampclj

(samp & args)
source

scriptclj

(script & args)
source

sectionclj

(section & args)
source

selectclj

(select & args)
source

smallclj

(small & args)
source

sourceclj

(source & args)
source

spanclj

(span & args)
source

stopclj

(stop & args)
source

strongclj

(strong & args)
source

styleclj

(style & args)
source

subclj

(sub & args)
source

summaryclj

(summary & args)
source

supclj

(sup & args)
source

svgclj

(svg & args)
source

tableclj

(table & args)
source

tbodyclj

(tbody & args)
source

tdclj

(td & args)
source

textclj

(text & args)
source

text-nodeclj

(text-node s)

HTML text node

HTML text node
sourceraw docstring

textareaclj

(textarea & args)
source

tfootclj

(tfoot & args)
source

thclj

(th & args)
source

theadclj

(thead & args)
source

timeclj

(time & args)
source

titleclj

(title & args)
source

trclj

(tr & args)
source

trackclj

(track & args)
source

tspanclj

(tspan & args)
source

uclj

(u & args)
source

ulclj

(ul & args)
source

useclj

(use & args)
source

varclj

(var & args)
source

videoclj

(video & args)
source

wbrclj

(wbr & args)
source

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

× close