Liking cljdoc? Tell your friends :D

fulcro.client.dom

clj

MACROS for generating CLJS code. See dom.cljs

MACROS for generating CLJS code. See dom.cljs
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
raw docstring

aclj/smacro

(a & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (a "hello") (a nil "hello")

These two are made equivalent at compile time (a {:onClick f} "hello") (a #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (a :#the-id.klass.other-klass "hello") (a :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(a "hello")
(a nil "hello")

These two are made equivalent at compile time
(a {:onClick f} "hello")
(a #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(a :#the-id.klass.other-klass "hello")
(a :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

abbrclj/smacro

(abbr & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (abbr "hello") (abbr nil "hello")

These two are made equivalent at compile time (abbr {:onClick f} "hello") (abbr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (abbr :#the-id.klass.other-klass "hello") (abbr :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(abbr "hello")
(abbr nil "hello")

These two are made equivalent at compile time
(abbr {:onClick f} "hello")
(abbr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(abbr :#the-id.klass.other-klass "hello")
(abbr :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

addressclj/smacro

(address & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (address "hello") (address nil "hello")

These two are made equivalent at compile time (address {:onClick f} "hello") (address #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (address :#the-id.klass.other-klass "hello") (address :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(address "hello")
(address nil "hello")

These two are made equivalent at compile time
(address {:onClick f} "hello")
(address #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(address :#the-id.klass.other-klass "hello")
(address :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

areaclj/smacro

(area & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (area "hello") (area nil "hello")

These two are made equivalent at compile time (area {:onClick f} "hello") (area #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (area :#the-id.klass.other-klass "hello") (area :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(area "hello")
(area nil "hello")

These two are made equivalent at compile time
(area {:onClick f} "hello")
(area #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(area :#the-id.klass.other-klass "hello")
(area :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

articleclj/smacro

(article & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (article "hello") (article nil "hello")

These two are made equivalent at compile time (article {:onClick f} "hello") (article #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (article :#the-id.klass.other-klass "hello") (article :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(article "hello")
(article nil "hello")

These two are made equivalent at compile time
(article {:onClick f} "hello")
(article #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(article :#the-id.klass.other-klass "hello")
(article :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

asideclj/smacro

(aside & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (aside "hello") (aside nil "hello")

These two are made equivalent at compile time (aside {:onClick f} "hello") (aside #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (aside :#the-id.klass.other-klass "hello") (aside :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(aside "hello")
(aside nil "hello")

These two are made equivalent at compile time
(aside {:onClick f} "hello")
(aside #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(aside :#the-id.klass.other-klass "hello")
(aside :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

audioclj/smacro

(audio & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (audio "hello") (audio nil "hello")

These two are made equivalent at compile time (audio {:onClick f} "hello") (audio #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (audio :#the-id.klass.other-klass "hello") (audio :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(audio "hello")
(audio nil "hello")

These two are made equivalent at compile time
(audio {:onClick f} "hello")
(audio #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(audio :#the-id.klass.other-klass "hello")
(audio :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

bclj/smacro

(b & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (b "hello") (b nil "hello")

These two are made equivalent at compile time (b {:onClick f} "hello") (b #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (b :#the-id.klass.other-klass "hello") (b :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(b "hello")
(b nil "hello")

These two are made equivalent at compile time
(b {:onClick f} "hello")
(b #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(b :#the-id.klass.other-klass "hello")
(b :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

baseclj/smacro

(base & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (base "hello") (base nil "hello")

These two are made equivalent at compile time (base {:onClick f} "hello") (base #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (base :#the-id.klass.other-klass "hello") (base :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(base "hello")
(base nil "hello")

These two are made equivalent at compile time
(base {:onClick f} "hello")
(base #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(base :#the-id.klass.other-klass "hello")
(base :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

bdiclj/smacro

(bdi & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (bdi "hello") (bdi nil "hello")

These two are made equivalent at compile time (bdi {:onClick f} "hello") (bdi #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (bdi :#the-id.klass.other-klass "hello") (bdi :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(bdi "hello")
(bdi nil "hello")

These two are made equivalent at compile time
(bdi {:onClick f} "hello")
(bdi #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(bdi :#the-id.klass.other-klass "hello")
(bdi :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

bdoclj/smacro

(bdo & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (bdo "hello") (bdo nil "hello")

These two are made equivalent at compile time (bdo {:onClick f} "hello") (bdo #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (bdo :#the-id.klass.other-klass "hello") (bdo :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(bdo "hello")
(bdo nil "hello")

These two are made equivalent at compile time
(bdo {:onClick f} "hello")
(bdo #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(bdo :#the-id.klass.other-klass "hello")
(bdo :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

bigclj/smacro

(big & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (big "hello") (big nil "hello")

These two are made equivalent at compile time (big {:onClick f} "hello") (big #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (big :#the-id.klass.other-klass "hello") (big :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(big "hello")
(big nil "hello")

These two are made equivalent at compile time
(big {:onClick f} "hello")
(big #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(big :#the-id.klass.other-klass "hello")
(big :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

blockquoteclj/smacro

(blockquote & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (blockquote "hello") (blockquote nil "hello")

These two are made equivalent at compile time (blockquote {:onClick f} "hello") (blockquote #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (blockquote :#the-id.klass.other-klass "hello") (blockquote :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(blockquote "hello")
(blockquote nil "hello")

These two are made equivalent at compile time
(blockquote {:onClick f} "hello")
(blockquote #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(blockquote :#the-id.klass.other-klass "hello")
(blockquote :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

bodyclj/smacro

(body & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (body "hello") (body nil "hello")

These two are made equivalent at compile time (body {:onClick f} "hello") (body #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (body :#the-id.klass.other-klass "hello") (body :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(body "hello")
(body nil "hello")

These two are made equivalent at compile time
(body {:onClick f} "hello")
(body #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(body :#the-id.klass.other-klass "hello")
(body :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

brclj/smacro

(br & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (br "hello") (br nil "hello")

These two are made equivalent at compile time (br {:onClick f} "hello") (br #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (br :#the-id.klass.other-klass "hello") (br :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(br "hello")
(br nil "hello")

These two are made equivalent at compile time
(br {:onClick f} "hello")
(br #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(br :#the-id.klass.other-klass "hello")
(br :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

buttonclj/smacro

(button & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (button "hello") (button nil "hello")

These two are made equivalent at compile time (button {:onClick f} "hello") (button #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (button :#the-id.klass.other-klass "hello") (button :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(button "hello")
(button nil "hello")

These two are made equivalent at compile time
(button {:onClick f} "hello")
(button #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(button :#the-id.klass.other-klass "hello")
(button :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

canvasclj/smacro

(canvas & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (canvas "hello") (canvas nil "hello")

These two are made equivalent at compile time (canvas {:onClick f} "hello") (canvas #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (canvas :#the-id.klass.other-klass "hello") (canvas :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(canvas "hello")
(canvas nil "hello")

These two are made equivalent at compile time
(canvas {:onClick f} "hello")
(canvas #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(canvas :#the-id.klass.other-klass "hello")
(canvas :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

captionclj/smacro

(caption & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (caption "hello") (caption nil "hello")

These two are made equivalent at compile time (caption {:onClick f} "hello") (caption #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (caption :#the-id.klass.other-klass "hello") (caption :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(caption "hello")
(caption nil "hello")

These two are made equivalent at compile time
(caption {:onClick f} "hello")
(caption #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(caption :#the-id.klass.other-klass "hello")
(caption :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

circleclj/smacro

(circle & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (circle "hello") (circle nil "hello")

These two are made equivalent at compile time (circle {:onClick f} "hello") (circle #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (circle :#the-id.klass.other-klass "hello") (circle :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(circle "hello")
(circle nil "hello")

These two are made equivalent at compile time
(circle {:onClick f} "hello")
(circle #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(circle :#the-id.klass.other-klass "hello")
(circle :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

citeclj/smacro

(cite & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (cite "hello") (cite nil "hello")

These two are made equivalent at compile time (cite {:onClick f} "hello") (cite #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (cite :#the-id.klass.other-klass "hello") (cite :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(cite "hello")
(cite nil "hello")

These two are made equivalent at compile time
(cite {:onClick f} "hello")
(cite #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(cite :#the-id.klass.other-klass "hello")
(cite :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

clipPathclj/smacro

(clipPath & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (clipPath "hello") (clipPath nil "hello")

These two are made equivalent at compile time (clipPath {:onClick f} "hello") (clipPath #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (clipPath :#the-id.klass.other-klass "hello") (clipPath :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(clipPath "hello")
(clipPath nil "hello")

These two are made equivalent at compile time
(clipPath {:onClick f} "hello")
(clipPath #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(clipPath :#the-id.klass.other-klass "hello")
(clipPath :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

clj-map->js-objectclj

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

codeclj/smacro

(code & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (code "hello") (code nil "hello")

These two are made equivalent at compile time (code {:onClick f} "hello") (code #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (code :#the-id.klass.other-klass "hello") (code :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(code "hello")
(code nil "hello")

These two are made equivalent at compile time
(code {:onClick f} "hello")
(code #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(code :#the-id.klass.other-klass "hello")
(code :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

colclj/smacro

(col & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (col "hello") (col nil "hello")

These two are made equivalent at compile time (col {:onClick f} "hello") (col #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (col :#the-id.klass.other-klass "hello") (col :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(col "hello")
(col nil "hello")

These two are made equivalent at compile time
(col {:onClick f} "hello")
(col #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(col :#the-id.klass.other-klass "hello")
(col :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

colgroupclj/smacro

(colgroup & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (colgroup "hello") (colgroup nil "hello")

These two are made equivalent at compile time (colgroup {:onClick f} "hello") (colgroup #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (colgroup :#the-id.klass.other-klass "hello") (colgroup :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(colgroup "hello")
(colgroup nil "hello")

These two are made equivalent at compile time
(colgroup {:onClick f} "hello")
(colgroup #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(colgroup :#the-id.klass.other-klass "hello")
(colgroup :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

convert-propscljs

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

create-elementcljs

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

dataclj/smacro

(data & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (data "hello") (data nil "hello")

These two are made equivalent at compile time (data {:onClick f} "hello") (data #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (data :#the-id.klass.other-klass "hello") (data :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(data "hello")
(data nil "hello")

These two are made equivalent at compile time
(data {:onClick f} "hello")
(data #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(data :#the-id.klass.other-klass "hello")
(data :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

datalistclj/smacro

(datalist & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (datalist "hello") (datalist nil "hello")

These two are made equivalent at compile time (datalist {:onClick f} "hello") (datalist #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (datalist :#the-id.klass.other-klass "hello") (datalist :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(datalist "hello")
(datalist nil "hello")

These two are made equivalent at compile time
(datalist {:onClick f} "hello")
(datalist #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(datalist :#the-id.klass.other-klass "hello")
(datalist :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

ddclj/smacro

(dd & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (dd "hello") (dd nil "hello")

These two are made equivalent at compile time (dd {:onClick f} "hello") (dd #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (dd :#the-id.klass.other-klass "hello") (dd :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(dd "hello")
(dd nil "hello")

These two are made equivalent at compile time
(dd {:onClick f} "hello")
(dd #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(dd :#the-id.klass.other-klass "hello")
(dd :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

defsclj/smacro

(defs & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (defs "hello") (defs nil "hello")

These two are made equivalent at compile time (defs {:onClick f} "hello") (defs #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (defs :#the-id.klass.other-klass "hello") (defs :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(defs "hello")
(defs nil "hello")

These two are made equivalent at compile time
(defs {:onClick f} "hello")
(defs #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(defs :#the-id.klass.other-klass "hello")
(defs :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

delclj/smacro

(del & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (del "hello") (del nil "hello")

These two are made equivalent at compile time (del {:onClick f} "hello") (del #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (del :#the-id.klass.other-klass "hello") (del :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(del "hello")
(del nil "hello")

These two are made equivalent at compile time
(del {:onClick f} "hello")
(del #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(del :#the-id.klass.other-klass "hello")
(del :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

detailsclj/smacro

(details & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (details "hello") (details nil "hello")

These two are made equivalent at compile time (details {:onClick f} "hello") (details #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (details :#the-id.klass.other-klass "hello") (details :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(details "hello")
(details nil "hello")

These two are made equivalent at compile time
(details {:onClick f} "hello")
(details #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(details :#the-id.klass.other-klass "hello")
(details :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

dfnclj/smacro

(dfn & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (dfn "hello") (dfn nil "hello")

These two are made equivalent at compile time (dfn {:onClick f} "hello") (dfn #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (dfn :#the-id.klass.other-klass "hello") (dfn :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(dfn "hello")
(dfn nil "hello")

These two are made equivalent at compile time
(dfn {:onClick f} "hello")
(dfn #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(dfn :#the-id.klass.other-klass "hello")
(dfn :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

dialogclj/smacro

(dialog & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (dialog "hello") (dialog nil "hello")

These two are made equivalent at compile time (dialog {:onClick f} "hello") (dialog #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (dialog :#the-id.klass.other-klass "hello") (dialog :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(dialog "hello")
(dialog nil "hello")

These two are made equivalent at compile time
(dialog {:onClick f} "hello")
(dialog #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(dialog :#the-id.klass.other-klass "hello")
(dialog :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

divclj/smacro

(div & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (div "hello") (div nil "hello")

These two are made equivalent at compile time (div {:onClick f} "hello") (div #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (div :#the-id.klass.other-klass "hello") (div :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(div "hello")
(div nil "hello")

These two are made equivalent at compile time
(div {:onClick f} "hello")
(div #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(div :#the-id.klass.other-klass "hello")
(div :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

dlclj/smacro

(dl & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (dl "hello") (dl nil "hello")

These two are made equivalent at compile time (dl {:onClick f} "hello") (dl #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (dl :#the-id.klass.other-klass "hello") (dl :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(dl "hello")
(dl nil "hello")

These two are made equivalent at compile time
(dl {:onClick f} "hello")
(dl #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(dl :#the-id.klass.other-klass "hello")
(dl :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

dtclj/smacro

(dt & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (dt "hello") (dt nil "hello")

These two are made equivalent at compile time (dt {:onClick f} "hello") (dt #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (dt :#the-id.klass.other-klass "hello") (dt :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(dt "hello")
(dt nil "hello")

These two are made equivalent at compile time
(dt {:onClick f} "hello")
(dt #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(dt :#the-id.klass.other-klass "hello")
(dt :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

element?cljs

(element? x)

Returns true if the given arg is a react element.

Returns true if the given arg is a react element.
sourceraw docstring

ellipseclj/smacro

(ellipse & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (ellipse "hello") (ellipse nil "hello")

These two are made equivalent at compile time (ellipse {:onClick f} "hello") (ellipse #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (ellipse :#the-id.klass.other-klass "hello") (ellipse :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(ellipse "hello")
(ellipse nil "hello")

These two are made equivalent at compile time
(ellipse {:onClick f} "hello")
(ellipse #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(ellipse :#the-id.klass.other-klass "hello")
(ellipse :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

emclj/smacro

(em & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (em "hello") (em nil "hello")

These two are made equivalent at compile time (em {:onClick f} "hello") (em #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (em :#the-id.klass.other-klass "hello") (em :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(em "hello")
(em nil "hello")

These two are made equivalent at compile time
(em {:onClick f} "hello")
(em #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(em :#the-id.klass.other-klass "hello")
(em :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

embedclj/smacro

(embed & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (embed "hello") (embed nil "hello")

These two are made equivalent at compile time (embed {:onClick f} "hello") (embed #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (embed :#the-id.klass.other-klass "hello") (embed :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(embed "hello")
(embed nil "hello")

These two are made equivalent at compile time
(embed {:onClick f} "hello")
(embed #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(embed :#the-id.klass.other-klass "hello")
(embed :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

fieldsetclj/smacro

(fieldset & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (fieldset "hello") (fieldset nil "hello")

These two are made equivalent at compile time (fieldset {:onClick f} "hello") (fieldset #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (fieldset :#the-id.klass.other-klass "hello") (fieldset :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(fieldset "hello")
(fieldset nil "hello")

These two are made equivalent at compile time
(fieldset {:onClick f} "hello")
(fieldset #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(fieldset :#the-id.klass.other-klass "hello")
(fieldset :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

figcaptionclj/smacro

(figcaption & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (figcaption "hello") (figcaption nil "hello")

These two are made equivalent at compile time (figcaption {:onClick f} "hello") (figcaption #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (figcaption :#the-id.klass.other-klass "hello") (figcaption :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(figcaption "hello")
(figcaption nil "hello")

These two are made equivalent at compile time
(figcaption {:onClick f} "hello")
(figcaption #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(figcaption :#the-id.klass.other-klass "hello")
(figcaption :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

figureclj/smacro

(figure & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (figure "hello") (figure nil "hello")

These two are made equivalent at compile time (figure {:onClick f} "hello") (figure #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (figure :#the-id.klass.other-klass "hello") (figure :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(figure "hello")
(figure nil "hello")

These two are made equivalent at compile time
(figure {:onClick f} "hello")
(figure #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(figure :#the-id.klass.other-klass "hello")
(figure :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(footer & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (footer "hello") (footer nil "hello")

These two are made equivalent at compile time (footer {:onClick f} "hello") (footer #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (footer :#the-id.klass.other-klass "hello") (footer :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(footer "hello")
(footer nil "hello")

These two are made equivalent at compile time
(footer {:onClick f} "hello")
(footer #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(footer :#the-id.klass.other-klass "hello")
(footer :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

formclj/smacro

(form & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (form "hello") (form nil "hello")

These two are made equivalent at compile time (form {:onClick f} "hello") (form #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (form :#the-id.klass.other-klass "hello") (form :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(form "hello")
(form nil "hello")

These two are made equivalent at compile time
(form {:onClick f} "hello")
(form #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(form :#the-id.klass.other-klass "hello")
(form :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

form-elements?cljs

source

gclj/smacro

(g & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (g "hello") (g nil "hello")

These two are made equivalent at compile time (g {:onClick f} "hello") (g #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (g :#the-id.klass.other-klass "hello") (g :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(g "hello")
(g nil "hello")

These two are made equivalent at compile time
(g {:onClick f} "hello")
(g #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(g :#the-id.klass.other-klass "hello")
(g :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

gen-client-dom-fnsclj/smacro

(gen-client-dom-fns create-element-sym)
source

gen-dom-macroclj

(gen-dom-macro emitter name)
source

gen-dom-macrosclj/smacro

(gen-dom-macros emitter)
source

h1clj/smacro

(h1 & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (h1 "hello") (h1 nil "hello")

These two are made equivalent at compile time (h1 {:onClick f} "hello") (h1 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (h1 :#the-id.klass.other-klass "hello") (h1 :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(h1 "hello")
(h1 nil "hello")

These two are made equivalent at compile time
(h1 {:onClick f} "hello")
(h1 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(h1 :#the-id.klass.other-klass "hello")
(h1 :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

h2clj/smacro

(h2 & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (h2 "hello") (h2 nil "hello")

These two are made equivalent at compile time (h2 {:onClick f} "hello") (h2 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (h2 :#the-id.klass.other-klass "hello") (h2 :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(h2 "hello")
(h2 nil "hello")

These two are made equivalent at compile time
(h2 {:onClick f} "hello")
(h2 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(h2 :#the-id.klass.other-klass "hello")
(h2 :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

h3clj/smacro

(h3 & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (h3 "hello") (h3 nil "hello")

These two are made equivalent at compile time (h3 {:onClick f} "hello") (h3 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (h3 :#the-id.klass.other-klass "hello") (h3 :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(h3 "hello")
(h3 nil "hello")

These two are made equivalent at compile time
(h3 {:onClick f} "hello")
(h3 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(h3 :#the-id.klass.other-klass "hello")
(h3 :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

h4clj/smacro

(h4 & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (h4 "hello") (h4 nil "hello")

These two are made equivalent at compile time (h4 {:onClick f} "hello") (h4 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (h4 :#the-id.klass.other-klass "hello") (h4 :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(h4 "hello")
(h4 nil "hello")

These two are made equivalent at compile time
(h4 {:onClick f} "hello")
(h4 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(h4 :#the-id.klass.other-klass "hello")
(h4 :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

h5clj/smacro

(h5 & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (h5 "hello") (h5 nil "hello")

These two are made equivalent at compile time (h5 {:onClick f} "hello") (h5 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (h5 :#the-id.klass.other-klass "hello") (h5 :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(h5 "hello")
(h5 nil "hello")

These two are made equivalent at compile time
(h5 {:onClick f} "hello")
(h5 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(h5 :#the-id.klass.other-klass "hello")
(h5 :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

h6clj/smacro

(h6 & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (h6 "hello") (h6 nil "hello")

These two are made equivalent at compile time (h6 {:onClick f} "hello") (h6 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (h6 :#the-id.klass.other-klass "hello") (h6 :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(h6 "hello")
(h6 nil "hello")

These two are made equivalent at compile time
(h6 {:onClick f} "hello")
(h6 #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(h6 :#the-id.klass.other-klass "hello")
(h6 :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(head & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (head "hello") (head nil "hello")

These two are made equivalent at compile time (head {:onClick f} "hello") (head #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (head :#the-id.klass.other-klass "hello") (head :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(head "hello")
(head nil "hello")

These two are made equivalent at compile time
(head {:onClick f} "hello")
(head #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(head :#the-id.klass.other-klass "hello")
(head :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(header & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (header "hello") (header nil "hello")

These two are made equivalent at compile time (header {:onClick f} "hello") (header #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (header :#the-id.klass.other-klass "hello") (header :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(header "hello")
(header nil "hello")

These two are made equivalent at compile time
(header {:onClick f} "hello")
(header #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(header :#the-id.klass.other-klass "hello")
(header :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

hrclj/smacro

(hr & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (hr "hello") (hr nil "hello")

These two are made equivalent at compile time (hr {:onClick f} "hello") (hr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (hr :#the-id.klass.other-klass "hello") (hr :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(hr "hello")
(hr nil "hello")

These two are made equivalent at compile time
(hr {:onClick f} "hello")
(hr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(hr :#the-id.klass.other-klass "hello")
(hr :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

htmlclj/smacro

(html & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (html "hello") (html nil "hello")

These two are made equivalent at compile time (html {:onClick f} "hello") (html #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (html :#the-id.klass.other-klass "hello") (html :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(html "hello")
(html nil "hello")

These two are made equivalent at compile time
(html {:onClick f} "hello")
(html #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(html :#the-id.klass.other-klass "hello")
(html :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

iclj/smacro

(i & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (i "hello") (i nil "hello")

These two are made equivalent at compile time (i {:onClick f} "hello") (i #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (i :#the-id.klass.other-klass "hello") (i :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(i "hello")
(i nil "hello")

These two are made equivalent at compile time
(i {:onClick f} "hello")
(i #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(i :#the-id.klass.other-klass "hello")
(i :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

iframeclj/smacro

(iframe & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (iframe "hello") (iframe nil "hello")

These two are made equivalent at compile time (iframe {:onClick f} "hello") (iframe #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (iframe :#the-id.klass.other-klass "hello") (iframe :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(iframe "hello")
(iframe nil "hello")

These two are made equivalent at compile time
(iframe {:onClick f} "hello")
(iframe #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(iframe :#the-id.klass.other-klass "hello")
(iframe :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

imgclj/smacro

(img & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (img "hello") (img nil "hello")

These two are made equivalent at compile time (img {:onClick f} "hello") (img #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (img :#the-id.klass.other-klass "hello") (img :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(img "hello")
(img nil "hello")

These two are made equivalent at compile time
(img {:onClick f} "hello")
(img #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(img :#the-id.klass.other-klass "hello")
(img :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

inputclj/smacro

(input & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (input "hello") (input nil "hello")

These two are made equivalent at compile time (input {:onClick f} "hello") (input #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (input :#the-id.klass.other-klass "hello") (input :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(input "hello")
(input nil "hello")

These two are made equivalent at compile time
(input {:onClick f} "hello")
(input #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(input :#the-id.klass.other-klass "hello")
(input :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

insclj/smacro

(ins & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (ins "hello") (ins nil "hello")

These two are made equivalent at compile time (ins {:onClick f} "hello") (ins #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (ins :#the-id.klass.other-klass "hello") (ins :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(ins "hello")
(ins nil "hello")

These two are made equivalent at compile time
(ins {:onClick f} "hello")
(ins #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(ins :#the-id.klass.other-klass "hello")
(ins :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

kbdclj/smacro

(kbd & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (kbd "hello") (kbd nil "hello")

These two are made equivalent at compile time (kbd {:onClick f} "hello") (kbd #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (kbd :#the-id.klass.other-klass "hello") (kbd :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(kbd "hello")
(kbd nil "hello")

These two are made equivalent at compile time
(kbd {:onClick f} "hello")
(kbd #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(kbd :#the-id.klass.other-klass "hello")
(kbd :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

keygenclj/smacro

(keygen & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (keygen "hello") (keygen nil "hello")

These two are made equivalent at compile time (keygen {:onClick f} "hello") (keygen #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (keygen :#the-id.klass.other-klass "hello") (keygen :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(keygen "hello")
(keygen nil "hello")

These two are made equivalent at compile time
(keygen {:onClick f} "hello")
(keygen #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(keygen :#the-id.klass.other-klass "hello")
(keygen :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

labelclj/smacro

(label & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (label "hello") (label nil "hello")

These two are made equivalent at compile time (label {:onClick f} "hello") (label #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (label :#the-id.klass.other-klass "hello") (label :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(label "hello")
(label nil "hello")

These two are made equivalent at compile time
(label {:onClick f} "hello")
(label #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(label :#the-id.klass.other-klass "hello")
(label :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

legendclj/smacro

(legend & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (legend "hello") (legend nil "hello")

These two are made equivalent at compile time (legend {:onClick f} "hello") (legend #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (legend :#the-id.klass.other-klass "hello") (legend :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(legend "hello")
(legend nil "hello")

These two are made equivalent at compile time
(legend {:onClick f} "hello")
(legend #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(legend :#the-id.klass.other-klass "hello")
(legend :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

liclj/smacro

(li & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (li "hello") (li nil "hello")

These two are made equivalent at compile time (li {:onClick f} "hello") (li #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (li :#the-id.klass.other-klass "hello") (li :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(li "hello")
(li nil "hello")

These two are made equivalent at compile time
(li {:onClick f} "hello")
(li #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(li :#the-id.klass.other-klass "hello")
(li :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

lineclj/smacro

(line & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (line "hello") (line nil "hello")

These two are made equivalent at compile time (line {:onClick f} "hello") (line #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (line :#the-id.klass.other-klass "hello") (line :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(line "hello")
(line nil "hello")

These two are made equivalent at compile time
(line {:onClick f} "hello")
(line #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(line :#the-id.klass.other-klass "hello")
(line :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

linearGradientclj/smacro

(linearGradient & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (linearGradient "hello") (linearGradient nil "hello")

These two are made equivalent at compile time (linearGradient {:onClick f} "hello") (linearGradient #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (linearGradient :#the-id.klass.other-klass "hello") (linearGradient :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(linearGradient "hello")
(linearGradient nil "hello")

These two are made equivalent at compile time
(linearGradient {:onClick f} "hello")
(linearGradient #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(linearGradient :#the-id.klass.other-klass "hello")
(linearGradient :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(link & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (link "hello") (link nil "hello")

These two are made equivalent at compile time (link {:onClick f} "hello") (link #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (link :#the-id.klass.other-klass "hello") (link :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(link "hello")
(link nil "hello")

These two are made equivalent at compile time
(link {:onClick f} "hello")
(link #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(link :#the-id.klass.other-klass "hello")
(link :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

macro-create-elementcljs

(macro-create-element type args)
(macro-create-element type args csskw)

Runtime interpretation of props. Used internally by element generation when the macro cannot expand the element at compile time.

Runtime interpretation of props. Used internally by element generation when the macro cannot expand the element at compile time.
sourceraw docstring

macro-create-element*cljs

(macro-create-element* arr)

Used internally by the DOM element generation.

Used internally by the DOM element generation.
sourceraw docstring

macro-create-wrapped-form-elementcljs

(macro-create-wrapped-form-element opts)

Used internally by element generation.

Used internally by element generation.
sourceraw docstring

mainclj/smacro

(main & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (main "hello") (main nil "hello")

These two are made equivalent at compile time (main {:onClick f} "hello") (main #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (main :#the-id.klass.other-klass "hello") (main :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(main "hello")
(main nil "hello")

These two are made equivalent at compile time
(main {:onClick f} "hello")
(main #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(main :#the-id.klass.other-klass "hello")
(main :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

mapclj/smacro

(map & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (map "hello") (map nil "hello")

These two are made equivalent at compile time (map {:onClick f} "hello") (map #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (map :#the-id.klass.other-klass "hello") (map :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(map "hello")
(map nil "hello")

These two are made equivalent at compile time
(map {:onClick f} "hello")
(map #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(map :#the-id.klass.other-klass "hello")
(map :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

markclj/smacro

(mark & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (mark "hello") (mark nil "hello")

These two are made equivalent at compile time (mark {:onClick f} "hello") (mark #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (mark :#the-id.klass.other-klass "hello") (mark :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(mark "hello")
(mark nil "hello")

These two are made equivalent at compile time
(mark {:onClick f} "hello")
(mark #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(mark :#the-id.klass.other-klass "hello")
(mark :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

maskclj/smacro

(mask & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (mask "hello") (mask nil "hello")

These two are made equivalent at compile time (mask {:onClick f} "hello") (mask #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (mask :#the-id.klass.other-klass "hello") (mask :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(mask "hello")
(mask nil "hello")

These two are made equivalent at compile time
(mask {:onClick f} "hello")
(mask #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(mask :#the-id.klass.other-klass "hello")
(mask :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(menu & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (menu "hello") (menu nil "hello")

These two are made equivalent at compile time (menu {:onClick f} "hello") (menu #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (menu :#the-id.klass.other-klass "hello") (menu :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(menu "hello")
(menu nil "hello")

These two are made equivalent at compile time
(menu {:onClick f} "hello")
(menu #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(menu :#the-id.klass.other-klass "hello")
(menu :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(menuitem & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (menuitem "hello") (menuitem nil "hello")

These two are made equivalent at compile time (menuitem {:onClick f} "hello") (menuitem #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (menuitem :#the-id.klass.other-klass "hello") (menuitem :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(menuitem "hello")
(menuitem nil "hello")

These two are made equivalent at compile time
(menuitem {:onClick f} "hello")
(menuitem #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(menuitem :#the-id.klass.other-klass "hello")
(menuitem :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

metaclj/smacro

(meta & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (meta "hello") (meta nil "hello")

These two are made equivalent at compile time (meta {:onClick f} "hello") (meta #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (meta :#the-id.klass.other-klass "hello") (meta :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(meta "hello")
(meta nil "hello")

These two are made equivalent at compile time
(meta {:onClick f} "hello")
(meta #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(meta :#the-id.klass.other-klass "hello")
(meta :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

meterclj/smacro

(meter & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (meter "hello") (meter nil "hello")

These two are made equivalent at compile time (meter {:onClick f} "hello") (meter #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (meter :#the-id.klass.other-klass "hello") (meter :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(meter "hello")
(meter nil "hello")

These two are made equivalent at compile time
(meter {:onClick f} "hello")
(meter #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(meter :#the-id.klass.other-klass "hello")
(meter :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

(nav & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (nav "hello") (nav nil "hello")

These two are made equivalent at compile time (nav {:onClick f} "hello") (nav #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (nav :#the-id.klass.other-klass "hello") (nav :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(nav "hello")
(nav nil "hello")

These two are made equivalent at compile time
(nav {:onClick f} "hello")
(nav #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(nav :#the-id.klass.other-klass "hello")
(nav :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

nodecljs

(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

noscriptclj/smacro

(noscript & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (noscript "hello") (noscript nil "hello")

These two are made equivalent at compile time (noscript {:onClick f} "hello") (noscript #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (noscript :#the-id.klass.other-klass "hello") (noscript :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(noscript "hello")
(noscript nil "hello")

These two are made equivalent at compile time
(noscript {:onClick f} "hello")
(noscript #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(noscript :#the-id.klass.other-klass "hello")
(noscript :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

objectclj/smacro

(object & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (object "hello") (object nil "hello")

These two are made equivalent at compile time (object {:onClick f} "hello") (object #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (object :#the-id.klass.other-klass "hello") (object :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(object "hello")
(object nil "hello")

These two are made equivalent at compile time
(object {:onClick f} "hello")
(object #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(object :#the-id.klass.other-klass "hello")
(object :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

olclj/smacro

(ol & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (ol "hello") (ol nil "hello")

These two are made equivalent at compile time (ol {:onClick f} "hello") (ol #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (ol :#the-id.klass.other-klass "hello") (ol :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(ol "hello")
(ol nil "hello")

These two are made equivalent at compile time
(ol {:onClick f} "hello")
(ol #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(ol :#the-id.klass.other-klass "hello")
(ol :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

optgroupclj/smacro

(optgroup & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (optgroup "hello") (optgroup nil "hello")

These two are made equivalent at compile time (optgroup {:onClick f} "hello") (optgroup #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (optgroup :#the-id.klass.other-klass "hello") (optgroup :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(optgroup "hello")
(optgroup nil "hello")

These two are made equivalent at compile time
(optgroup {:onClick f} "hello")
(optgroup #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(optgroup :#the-id.klass.other-klass "hello")
(optgroup :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

optionclj/smacro

(option & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (option "hello") (option nil "hello")

These two are made equivalent at compile time (option {:onClick f} "hello") (option #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (option :#the-id.klass.other-klass "hello") (option :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(option "hello")
(option nil "hello")

These two are made equivalent at compile time
(option {:onClick f} "hello")
(option #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(option :#the-id.klass.other-klass "hello")
(option :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

outputclj/smacro

(output & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (output "hello") (output nil "hello")

These two are made equivalent at compile time (output {:onClick f} "hello") (output #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (output :#the-id.klass.other-klass "hello") (output :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(output "hello")
(output nil "hello")

These two are made equivalent at compile time
(output {:onClick f} "hello")
(output #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(output :#the-id.klass.other-klass "hello")
(output :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

pclj/smacro

(p & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (p "hello") (p nil "hello")

These two are made equivalent at compile time (p {:onClick f} "hello") (p #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (p :#the-id.klass.other-klass "hello") (p :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(p "hello")
(p nil "hello")

These two are made equivalent at compile time
(p {:onClick f} "hello")
(p #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(p :#the-id.klass.other-klass "hello")
(p :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

paramclj/smacro

(param & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (param "hello") (param nil "hello")

These two are made equivalent at compile time (param {:onClick f} "hello") (param #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (param :#the-id.klass.other-klass "hello") (param :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(param "hello")
(param nil "hello")

These two are made equivalent at compile time
(param {:onClick f} "hello")
(param #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(param :#the-id.klass.other-klass "hello")
(param :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

pathclj/smacro

(path & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (path "hello") (path nil "hello")

These two are made equivalent at compile time (path {:onClick f} "hello") (path #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (path :#the-id.klass.other-klass "hello") (path :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(path "hello")
(path nil "hello")

These two are made equivalent at compile time
(path {:onClick f} "hello")
(path #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(path :#the-id.klass.other-klass "hello")
(path :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

patternclj/smacro

(pattern & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (pattern "hello") (pattern nil "hello")

These two are made equivalent at compile time (pattern {:onClick f} "hello") (pattern #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (pattern :#the-id.klass.other-klass "hello") (pattern :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(pattern "hello")
(pattern nil "hello")

These two are made equivalent at compile time
(pattern {:onClick f} "hello")
(pattern #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(pattern :#the-id.klass.other-klass "hello")
(pattern :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

pictureclj/smacro

(picture & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (picture "hello") (picture nil "hello")

These two are made equivalent at compile time (picture {:onClick f} "hello") (picture #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (picture :#the-id.klass.other-klass "hello") (picture :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(picture "hello")
(picture nil "hello")

These two are made equivalent at compile time
(picture {:onClick f} "hello")
(picture #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(picture :#the-id.klass.other-klass "hello")
(picture :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

polygonclj/smacro

(polygon & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (polygon "hello") (polygon nil "hello")

These two are made equivalent at compile time (polygon {:onClick f} "hello") (polygon #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (polygon :#the-id.klass.other-klass "hello") (polygon :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(polygon "hello")
(polygon nil "hello")

These two are made equivalent at compile time
(polygon {:onClick f} "hello")
(polygon #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(polygon :#the-id.klass.other-klass "hello")
(polygon :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

polylineclj/smacro

(polyline & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (polyline "hello") (polyline nil "hello")

These two are made equivalent at compile time (polyline {:onClick f} "hello") (polyline #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (polyline :#the-id.klass.other-klass "hello") (polyline :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(polyline "hello")
(polyline nil "hello")

These two are made equivalent at compile time
(polyline {:onClick f} "hello")
(polyline #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(polyline :#the-id.klass.other-klass "hello")
(polyline :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

preclj/smacro

(pre & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (pre "hello") (pre nil "hello")

These two are made equivalent at compile time (pre {:onClick f} "hello") (pre #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (pre :#the-id.klass.other-klass "hello") (pre :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(pre "hello")
(pre nil "hello")

These two are made equivalent at compile time
(pre {:onClick f} "hello")
(pre #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(pre :#the-id.klass.other-klass "hello")
(pre :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

progressclj/smacro

(progress & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (progress "hello") (progress nil "hello")

These two are made equivalent at compile time (progress {:onClick f} "hello") (progress #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (progress :#the-id.klass.other-klass "hello") (progress :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(progress "hello")
(progress nil "hello")

These two are made equivalent at compile time
(progress {:onClick f} "hello")
(progress #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(progress :#the-id.klass.other-klass "hello")
(progress :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

qclj/smacro

(q & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (q "hello") (q nil "hello")

These two are made equivalent at compile time (q {:onClick f} "hello") (q #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (q :#the-id.klass.other-klass "hello") (q :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(q "hello")
(q nil "hello")

These two are made equivalent at compile time
(q {:onClick f} "hello")
(q #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(q :#the-id.klass.other-klass "hello")
(q :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

radialGradientclj/smacro

(radialGradient & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (radialGradient "hello") (radialGradient nil "hello")

These two are made equivalent at compile time (radialGradient {:onClick f} "hello") (radialGradient #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (radialGradient :#the-id.klass.other-klass "hello") (radialGradient :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(radialGradient "hello")
(radialGradient nil "hello")

These two are made equivalent at compile time
(radialGradient {:onClick f} "hello")
(radialGradient #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(radialGradient :#the-id.klass.other-klass "hello")
(radialGradient :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

rectclj/smacro

(rect & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (rect "hello") (rect nil "hello")

These two are made equivalent at compile time (rect {:onClick f} "hello") (rect #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (rect :#the-id.klass.other-klass "hello") (rect :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(rect "hello")
(rect nil "hello")

These two are made equivalent at compile time
(rect {:onClick f} "hello")
(rect #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(rect :#the-id.klass.other-klass "hello")
(rect :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

rendercljs

(render component el)

Equivalent to React.render

Equivalent to React.render
sourceraw docstring

render-to-strcljs

(render-to-str c)

Equivalent to React.renderToString

Equivalent to React.renderToString
sourceraw docstring

rpclj/smacro

(rp & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (rp "hello") (rp nil "hello")

These two are made equivalent at compile time (rp {:onClick f} "hello") (rp #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (rp :#the-id.klass.other-klass "hello") (rp :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(rp "hello")
(rp nil "hello")

These two are made equivalent at compile time
(rp {:onClick f} "hello")
(rp #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(rp :#the-id.klass.other-klass "hello")
(rp :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

rtclj/smacro

(rt & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (rt "hello") (rt nil "hello")

These two are made equivalent at compile time (rt {:onClick f} "hello") (rt #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (rt :#the-id.klass.other-klass "hello") (rt :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(rt "hello")
(rt nil "hello")

These two are made equivalent at compile time
(rt {:onClick f} "hello")
(rt #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(rt :#the-id.klass.other-klass "hello")
(rt :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

rubyclj/smacro

(ruby & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (ruby "hello") (ruby nil "hello")

These two are made equivalent at compile time (ruby {:onClick f} "hello") (ruby #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (ruby :#the-id.klass.other-klass "hello") (ruby :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(ruby "hello")
(ruby nil "hello")

These two are made equivalent at compile time
(ruby {:onClick f} "hello")
(ruby #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(ruby :#the-id.klass.other-klass "hello")
(ruby :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

sclj/smacro

(s & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (s "hello") (s nil "hello")

These two are made equivalent at compile time (s {:onClick f} "hello") (s #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (s :#the-id.klass.other-klass "hello") (s :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(s "hello")
(s nil "hello")

These two are made equivalent at compile time
(s {:onClick f} "hello")
(s #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(s :#the-id.klass.other-klass "hello")
(s :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

sampclj/smacro

(samp & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (samp "hello") (samp nil "hello")

These two are made equivalent at compile time (samp {:onClick f} "hello") (samp #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (samp :#the-id.klass.other-klass "hello") (samp :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(samp "hello")
(samp nil "hello")

These two are made equivalent at compile time
(samp {:onClick f} "hello")
(samp #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(samp :#the-id.klass.other-klass "hello")
(samp :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

scriptclj/smacro

(script & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (script "hello") (script nil "hello")

These two are made equivalent at compile time (script {:onClick f} "hello") (script #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (script :#the-id.klass.other-klass "hello") (script :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(script "hello")
(script nil "hello")

These two are made equivalent at compile time
(script {:onClick f} "hello")
(script #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(script :#the-id.klass.other-klass "hello")
(script :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

sectionclj/smacro

(section & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (section "hello") (section nil "hello")

These two are made equivalent at compile time (section {:onClick f} "hello") (section #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (section :#the-id.klass.other-klass "hello") (section :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(section "hello")
(section nil "hello")

These two are made equivalent at compile time
(section {:onClick f} "hello")
(section #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(section :#the-id.klass.other-klass "hello")
(section :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

selectclj/smacro

(select & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (select "hello") (select nil "hello")

These two are made equivalent at compile time (select {:onClick f} "hello") (select #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (select :#the-id.klass.other-klass "hello") (select :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(select "hello")
(select nil "hello")

These two are made equivalent at compile time
(select {:onClick f} "hello")
(select #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(select :#the-id.klass.other-klass "hello")
(select :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

smallclj/smacro

(small & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (small "hello") (small nil "hello")

These two are made equivalent at compile time (small {:onClick f} "hello") (small #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (small :#the-id.klass.other-klass "hello") (small :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(small "hello")
(small nil "hello")

These two are made equivalent at compile time
(small {:onClick f} "hello")
(small #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(small :#the-id.klass.other-klass "hello")
(small :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

sourceclj/smacro

(source & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (source "hello") (source nil "hello")

These two are made equivalent at compile time (source {:onClick f} "hello") (source #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (source :#the-id.klass.other-klass "hello") (source :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(source "hello")
(source nil "hello")

These two are made equivalent at compile time
(source {:onClick f} "hello")
(source #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(source :#the-id.klass.other-klass "hello")
(source :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

spanclj/smacro

(span & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (span "hello") (span nil "hello")

These two are made equivalent at compile time (span {:onClick f} "hello") (span #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (span :#the-id.klass.other-klass "hello") (span :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(span "hello")
(span nil "hello")

These two are made equivalent at compile time
(span {:onClick f} "hello")
(span #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(span :#the-id.klass.other-klass "hello")
(span :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

stopclj/smacro

(stop & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (stop "hello") (stop nil "hello")

These two are made equivalent at compile time (stop {:onClick f} "hello") (stop #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (stop :#the-id.klass.other-klass "hello") (stop :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(stop "hello")
(stop nil "hello")

These two are made equivalent at compile time
(stop {:onClick f} "hello")
(stop #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(stop :#the-id.klass.other-klass "hello")
(stop :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

strongclj/smacro

(strong & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (strong "hello") (strong nil "hello")

These two are made equivalent at compile time (strong {:onClick f} "hello") (strong #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (strong :#the-id.klass.other-klass "hello") (strong :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(strong "hello")
(strong nil "hello")

These two are made equivalent at compile time
(strong {:onClick f} "hello")
(strong #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(strong :#the-id.klass.other-klass "hello")
(strong :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

styleclj/smacro

(style & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (style "hello") (style nil "hello")

These two are made equivalent at compile time (style {:onClick f} "hello") (style #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (style :#the-id.klass.other-klass "hello") (style :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(style "hello")
(style nil "hello")

These two are made equivalent at compile time
(style {:onClick f} "hello")
(style #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(style :#the-id.klass.other-klass "hello")
(style :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

subclj/smacro

(sub & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (sub "hello") (sub nil "hello")

These two are made equivalent at compile time (sub {:onClick f} "hello") (sub #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (sub :#the-id.klass.other-klass "hello") (sub :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(sub "hello")
(sub nil "hello")

These two are made equivalent at compile time
(sub {:onClick f} "hello")
(sub #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(sub :#the-id.klass.other-klass "hello")
(sub :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

summaryclj/smacro

(summary & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (summary "hello") (summary nil "hello")

These two are made equivalent at compile time (summary {:onClick f} "hello") (summary #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (summary :#the-id.klass.other-klass "hello") (summary :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(summary "hello")
(summary nil "hello")

These two are made equivalent at compile time
(summary {:onClick f} "hello")
(summary #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(summary :#the-id.klass.other-klass "hello")
(summary :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

supclj/smacro

(sup & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (sup "hello") (sup nil "hello")

These two are made equivalent at compile time (sup {:onClick f} "hello") (sup #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (sup :#the-id.klass.other-klass "hello") (sup :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(sup "hello")
(sup nil "hello")

These two are made equivalent at compile time
(sup {:onClick f} "hello")
(sup #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(sup :#the-id.klass.other-klass "hello")
(sup :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

svgclj/smacro

(svg & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (svg "hello") (svg nil "hello")

These two are made equivalent at compile time (svg {:onClick f} "hello") (svg #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (svg :#the-id.klass.other-klass "hello") (svg :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(svg "hello")
(svg nil "hello")

These two are made equivalent at compile time
(svg {:onClick f} "hello")
(svg #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(svg :#the-id.klass.other-klass "hello")
(svg :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

syntax-errorclj

(syntax-error and-form ex)

Format a DOM syntax error

Format a DOM syntax error
sourceraw docstring

tableclj/smacro

(table & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (table "hello") (table nil "hello")

These two are made equivalent at compile time (table {:onClick f} "hello") (table #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (table :#the-id.klass.other-klass "hello") (table :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(table "hello")
(table nil "hello")

These two are made equivalent at compile time
(table {:onClick f} "hello")
(table #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(table :#the-id.klass.other-klass "hello")
(table :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

tbodyclj/smacro

(tbody & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (tbody "hello") (tbody nil "hello")

These two are made equivalent at compile time (tbody {:onClick f} "hello") (tbody #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (tbody :#the-id.klass.other-klass "hello") (tbody :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(tbody "hello")
(tbody nil "hello")

These two are made equivalent at compile time
(tbody {:onClick f} "hello")
(tbody #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(tbody :#the-id.klass.other-klass "hello")
(tbody :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

tdclj/smacro

(td & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (td "hello") (td nil "hello")

These two are made equivalent at compile time (td {:onClick f} "hello") (td #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (td :#the-id.klass.other-klass "hello") (td :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(td "hello")
(td nil "hello")

These two are made equivalent at compile time
(td {:onClick f} "hello")
(td #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(td :#the-id.klass.other-klass "hello")
(td :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

textclj/smacro

(text & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (text "hello") (text nil "hello")

These two are made equivalent at compile time (text {:onClick f} "hello") (text #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (text :#the-id.klass.other-klass "hello") (text :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(text "hello")
(text nil "hello")

These two are made equivalent at compile time
(text {:onClick f} "hello")
(text #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(text :#the-id.klass.other-klass "hello")
(text :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

textareaclj/smacro

(textarea & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (textarea "hello") (textarea nil "hello")

These two are made equivalent at compile time (textarea {:onClick f} "hello") (textarea #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (textarea :#the-id.klass.other-klass "hello") (textarea :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(textarea "hello")
(textarea nil "hello")

These two are made equivalent at compile time
(textarea {:onClick f} "hello")
(textarea #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(textarea :#the-id.klass.other-klass "hello")
(textarea :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

tfootclj/smacro

(tfoot & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (tfoot "hello") (tfoot nil "hello")

These two are made equivalent at compile time (tfoot {:onClick f} "hello") (tfoot #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (tfoot :#the-id.klass.other-klass "hello") (tfoot :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(tfoot "hello")
(tfoot nil "hello")

These two are made equivalent at compile time
(tfoot {:onClick f} "hello")
(tfoot #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(tfoot :#the-id.klass.other-klass "hello")
(tfoot :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

thclj/smacro

(th & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (th "hello") (th nil "hello")

These two are made equivalent at compile time (th {:onClick f} "hello") (th #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (th :#the-id.klass.other-klass "hello") (th :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(th "hello")
(th nil "hello")

These two are made equivalent at compile time
(th {:onClick f} "hello")
(th #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(th :#the-id.klass.other-klass "hello")
(th :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

theadclj/smacro

(thead & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (thead "hello") (thead nil "hello")

These two are made equivalent at compile time (thead {:onClick f} "hello") (thead #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (thead :#the-id.klass.other-klass "hello") (thead :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(thead "hello")
(thead nil "hello")

These two are made equivalent at compile time
(thead {:onClick f} "hello")
(thead #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(thead :#the-id.klass.other-klass "hello")
(thead :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

timeclj/smacro

(time & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (time "hello") (time nil "hello")

These two are made equivalent at compile time (time {:onClick f} "hello") (time #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (time :#the-id.klass.other-klass "hello") (time :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(time "hello")
(time nil "hello")

These two are made equivalent at compile time
(time {:onClick f} "hello")
(time #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(time :#the-id.klass.other-klass "hello")
(time :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

titleclj/smacro

(title & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (title "hello") (title nil "hello")

These two are made equivalent at compile time (title {:onClick f} "hello") (title #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (title :#the-id.klass.other-klass "hello") (title :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(title "hello")
(title nil "hello")

These two are made equivalent at compile time
(title {:onClick f} "hello")
(title #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(title :#the-id.klass.other-klass "hello")
(title :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

trclj/smacro

(tr & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (tr "hello") (tr nil "hello")

These two are made equivalent at compile time (tr {:onClick f} "hello") (tr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (tr :#the-id.klass.other-klass "hello") (tr :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(tr "hello")
(tr nil "hello")

These two are made equivalent at compile time
(tr {:onClick f} "hello")
(tr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(tr :#the-id.klass.other-klass "hello")
(tr :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

trackclj/smacro

(track & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (track "hello") (track nil "hello")

These two are made equivalent at compile time (track {:onClick f} "hello") (track #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (track :#the-id.klass.other-klass "hello") (track :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(track "hello")
(track nil "hello")

These two are made equivalent at compile time
(track {:onClick f} "hello")
(track #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(track :#the-id.klass.other-klass "hello")
(track :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

tspanclj/smacro

(tspan & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (tspan "hello") (tspan nil "hello")

These two are made equivalent at compile time (tspan {:onClick f} "hello") (tspan #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (tspan :#the-id.klass.other-klass "hello") (tspan :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(tspan "hello")
(tspan nil "hello")

These two are made equivalent at compile time
(tspan {:onClick f} "hello")
(tspan #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(tspan :#the-id.klass.other-klass "hello")
(tspan :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

uclj/smacro

(u & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (u "hello") (u nil "hello")

These two are made equivalent at compile time (u {:onClick f} "hello") (u #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (u :#the-id.klass.other-klass "hello") (u :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(u "hello")
(u nil "hello")

These two are made equivalent at compile time
(u {:onClick f} "hello")
(u #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(u :#the-id.klass.other-klass "hello")
(u :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

ulclj/smacro

(ul & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (ul "hello") (ul nil "hello")

These two are made equivalent at compile time (ul {:onClick f} "hello") (ul #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (ul :#the-id.klass.other-klass "hello") (ul :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(ul "hello")
(ul nil "hello")

These two are made equivalent at compile time
(ul {:onClick f} "hello")
(ul #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(ul :#the-id.klass.other-klass "hello")
(ul :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

useclj/smacro

(use & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (use "hello") (use nil "hello")

These two are made equivalent at compile time (use {:onClick f} "hello") (use #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (use :#the-id.klass.other-klass "hello") (use :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(use "hello")
(use nil "hello")

These two are made equivalent at compile time
(use {:onClick f} "hello")
(use #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(use :#the-id.klass.other-klass "hello")
(use :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

varclj/smacro

(var & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (var "hello") (var nil "hello")

These two are made equivalent at compile time (var {:onClick f} "hello") (var #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (var :#the-id.klass.other-klass "hello") (var :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(var "hello")
(var nil "hello")

These two are made equivalent at compile time
(var {:onClick f} "hello")
(var #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(var :#the-id.klass.other-klass "hello")
(var :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

videoclj/smacro

(video & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (video "hello") (video nil "hello")

These two are made equivalent at compile time (video {:onClick f} "hello") (video #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (video :#the-id.klass.other-klass "hello") (video :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(video "hello")
(video nil "hello")

These two are made equivalent at compile time
(video {:onClick f} "hello")
(video #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(video :#the-id.klass.other-klass "hello")
(video :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

wbrclj/smacro

(wbr & args)

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time (wbr "hello") (wbr nil "hello")

These two are made equivalent at compile time (wbr {:onClick f} "hello") (wbr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names (wbr :#the-id.klass.other-klass "hello") (wbr :#the-id.klass.other-klass {:onClick f} "hello")

Returns a React DOM element. Can be invoked in several ways

These two are made equivalent at compile time
(wbr "hello")
(wbr nil "hello")

These two are made equivalent at compile time
(wbr {:onClick f} "hello")
(wbr #js {:onClick f} "hello")

There is also a shorthand for CSS id and class names
(wbr :#the-id.klass.other-klass "hello")
(wbr :#the-id.klass.other-klass {:onClick f} "hello")
sourceraw docstring

wrap-form-elementcljs

(wrap-form-element element)
source

wrapped-inputcljs

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

wrapped-optioncljs

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

wrapped-selectcljs

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

wrapped-textareacljs

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

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

× close