Supporting macros for Reacl's DOM library .
Supporting macros for Reacl's DOM library .
Convenience API for constructing virtual DOM.
This has ClojureScript wrappers for the various HTML elements.
These all expect attributes as a ClojureScript map.
Moreover, sub-element sequences need to be ClojureScript sequences of objects constructed using `keyed-dom'.
Moreover, the `letdom' form constructing virtual DOM elements for easy reference in an event handler.
Convenience API for constructing virtual DOM. This has ClojureScript wrappers for the various HTML elements. These all expect attributes as a ClojureScript map. Moreover, sub-element sequences need to be ClojureScript sequences of objects constructed using `keyed-dom'. Moreover, the `letdom' form constructing virtual DOM elements for easy reference in an event handler.
(a & children)
(a attrs & children)
Returns a dom element corresponding to a a
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `a` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(abbr & children)
(abbr attrs & children)
Returns a dom element corresponding to a abbr
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `abbr` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(address & children)
(address attrs & children)
Returns a dom element corresponding to a address
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `address` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(animate & children)
(animate attrs & children)
Returns a dom element corresponding to a animate
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `animate` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(animateColor & children)
(animateColor attrs & children)
Returns a dom element corresponding to a animateColor
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `animateColor` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(animateMotion & children)
(animateMotion attrs & children)
Returns a dom element corresponding to a animateMotion
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `animateMotion` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(animateTransform & children)
(animateTransform attrs & children)
Returns a dom element corresponding to a animateTransform
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `animateTransform` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(area & children)
(area attrs & children)
Returns a dom element corresponding to a area
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `area` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(article & children)
(article attrs & children)
Returns a dom element corresponding to a article
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `article` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(aside & children)
(aside attrs & children)
Returns a dom element corresponding to a aside
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `aside` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(attributes? v)
Returns true if v
will be treated as an attribute map in the
first optional argument to the DOM-construction functions.
Returns true if `v` will be treated as an attribute map in the first optional argument to the DOM-construction functions.
(audio & children)
(audio attrs & children)
Returns a dom element corresponding to a audio
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `audio` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(b & children)
(b attrs & children)
Returns a dom element corresponding to a b
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `b` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(base & children)
(base attrs & children)
Returns a dom element corresponding to a base
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `base` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(bdi & children)
(bdi attrs & children)
Returns a dom element corresponding to a bdi
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `bdi` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(bdo & children)
(bdo attrs & children)
Returns a dom element corresponding to a bdo
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `bdo` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(big & children)
(big attrs & children)
Returns a dom element corresponding to a big
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `big` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(blockquote & children)
(blockquote attrs & children)
Returns a dom element corresponding to a blockquote
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `blockquote` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(body & children)
(body attrs & children)
Returns a dom element corresponding to a body
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `body` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(br & children)
(br attrs & children)
Returns a dom element corresponding to a br
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `br` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(button & children)
(button attrs & children)
Returns a dom element corresponding to a button
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `button` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(canvas & children)
(canvas attrs & children)
Returns a dom element corresponding to a canvas
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `canvas` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(caption & children)
(caption attrs & children)
Returns a dom element corresponding to a caption
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `caption` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(circle & children)
(circle attrs & children)
Returns a dom element corresponding to a circle
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `circle` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(cite & children)
(cite attrs & children)
Returns a dom element corresponding to a cite
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `cite` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(clipPath & children)
(clipPath attrs & children)
Returns a dom element corresponding to a clipPath
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `clipPath` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(code & children)
(code attrs & children)
Returns a dom element corresponding to a code
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `code` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(col & children)
(col attrs & children)
Returns a dom element corresponding to a col
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `col` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(colgroup & children)
(colgroup attrs & children)
Returns a dom element corresponding to a colgroup
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `colgroup` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(cursor & children)
(cursor attrs & children)
Returns a dom element corresponding to a cursor
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `cursor` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(data & children)
(data attrs & children)
Returns a dom element corresponding to a data
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `data` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(datalist & children)
(datalist attrs & children)
Returns a dom element corresponding to a datalist
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `datalist` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(dd & children)
(dd attrs & children)
Returns a dom element corresponding to a dd
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `dd` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(defs & children)
(defs attrs & children)
Returns a dom element corresponding to a defs
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `defs` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(del & children)
(del attrs & children)
Returns a dom element corresponding to a del
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `del` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(desc & children)
(desc attrs & children)
Returns a dom element corresponding to a desc
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `desc` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(details & children)
(details attrs & children)
Returns a dom element corresponding to a details
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `details` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(dfn & children)
(dfn attrs & children)
Returns a dom element corresponding to a dfn
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `dfn` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(div & children)
(div attrs & children)
Returns a dom element corresponding to a div
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `div` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(dl & children)
(dl attrs & children)
Returns a dom element corresponding to a dl
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `dl` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(dom-node this binding)
Get the real DOM node associated with a binding.
Needs the component object.
Get the real DOM node associated with a binding. Needs the component object.
(dt & children)
(dt attrs & children)
Returns a dom element corresponding to a dt
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `dt` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(element type & children)
(element type attrs & children)
Generic function to create virtual dom elements. (element "div" ...)
is the same as (div ...)
.
Generic function to create virtual dom elements. `(element "div" ...)` is the same as `(div ...)`.
(ellipse & children)
(ellipse attrs & children)
Returns a dom element corresponding to a ellipse
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `ellipse` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(em & children)
(em attrs & children)
Returns a dom element corresponding to a em
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `em` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(embed & children)
(embed attrs & children)
Returns a dom element corresponding to a embed
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `embed` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feBlend & children)
(feBlend attrs & children)
Returns a dom element corresponding to a feBlend
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feBlend` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feColorMatrix & children)
(feColorMatrix attrs & children)
Returns a dom element corresponding to a feColorMatrix
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feColorMatrix` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feComponentTransfer & children)
(feComponentTransfer attrs & children)
Returns a dom element corresponding to a feComponentTransfer
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feComponentTransfer` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feComposite & children)
(feComposite attrs & children)
Returns a dom element corresponding to a feComposite
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feComposite` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feConvolveMatrix & children)
(feConvolveMatrix attrs & children)
Returns a dom element corresponding to a feConvolveMatrix
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feConvolveMatrix` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feDiffuseLighting & children)
(feDiffuseLighting attrs & children)
Returns a dom element corresponding to a feDiffuseLighting
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feDiffuseLighting` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feDisplacementMap & children)
(feDisplacementMap attrs & children)
Returns a dom element corresponding to a feDisplacementMap
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feDisplacementMap` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feDistantLight & children)
(feDistantLight attrs & children)
Returns a dom element corresponding to a feDistantLight
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feDistantLight` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feFlood & children)
(feFlood attrs & children)
Returns a dom element corresponding to a feFlood
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feFlood` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feFuncA & children)
(feFuncA attrs & children)
Returns a dom element corresponding to a feFuncA
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feFuncA` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feFuncB & children)
(feFuncB attrs & children)
Returns a dom element corresponding to a feFuncB
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feFuncB` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feFuncG & children)
(feFuncG attrs & children)
Returns a dom element corresponding to a feFuncG
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feFuncG` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feFuncR & children)
(feFuncR attrs & children)
Returns a dom element corresponding to a feFuncR
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feFuncR` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feGaussianBlur & children)
(feGaussianBlur attrs & children)
Returns a dom element corresponding to a feGaussianBlur
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feGaussianBlur` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feImage & children)
(feImage attrs & children)
Returns a dom element corresponding to a feImage
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feImage` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feMerge & children)
(feMerge attrs & children)
Returns a dom element corresponding to a feMerge
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feMerge` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feMergeNode & children)
(feMergeNode attrs & children)
Returns a dom element corresponding to a feMergeNode
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feMergeNode` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feMorphology & children)
(feMorphology attrs & children)
Returns a dom element corresponding to a feMorphology
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feMorphology` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feOffset & children)
(feOffset attrs & children)
Returns a dom element corresponding to a feOffset
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feOffset` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(fePointLight & children)
(fePointLight attrs & children)
Returns a dom element corresponding to a fePointLight
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `fePointLight` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feSpecularLighting & children)
(feSpecularLighting attrs & children)
Returns a dom element corresponding to a feSpecularLighting
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feSpecularLighting` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feSpotLight & children)
(feSpotLight attrs & children)
Returns a dom element corresponding to a feSpotLight
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feSpotLight` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feTile & children)
(feTile attrs & children)
Returns a dom element corresponding to a feTile
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feTile` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(feTurbulence & children)
(feTurbulence attrs & children)
Returns a dom element corresponding to a feTurbulence
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `feTurbulence` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(fieldset & children)
(fieldset attrs & children)
Returns a dom element corresponding to a fieldset
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `fieldset` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(figcaption & children)
(figcaption attrs & children)
Returns a dom element corresponding to a figcaption
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `figcaption` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(figure & children)
(figure attrs & children)
Returns a dom element corresponding to a figure
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `figure` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(font & children)
(font attrs & children)
Returns a dom element corresponding to a font
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `font` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(footer & children)
(footer attrs & children)
Returns a dom element corresponding to a footer
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `footer` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(form & children)
(form attrs & children)
Returns a dom element corresponding to a form
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `form` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(fragment & children)
Empty container element, see https://reactjs.org/docs/fragments.html
Empty container element, see https://reactjs.org/docs/fragments.html
(g & children)
(g attrs & children)
Returns a dom element corresponding to a g
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `g` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(h1 & children)
(h1 attrs & children)
Returns a dom element corresponding to a h1
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `h1` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(h2 & children)
(h2 attrs & children)
Returns a dom element corresponding to a h2
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `h2` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(h3 & children)
(h3 attrs & children)
Returns a dom element corresponding to a h3
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `h3` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(h4 & children)
(h4 attrs & children)
Returns a dom element corresponding to a h4
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `h4` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(h5 & children)
(h5 attrs & children)
Returns a dom element corresponding to a h5
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `h5` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(h6 & children)
(h6 attrs & children)
Returns a dom element corresponding to a h6
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `h6` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(head & children)
(head attrs & children)
Returns a dom element corresponding to a head
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `head` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(header & children)
(header attrs & children)
Returns a dom element corresponding to a header
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `header` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(hr & children)
(hr attrs & children)
Returns a dom element corresponding to a hr
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `hr` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(html & children)
(html attrs & children)
Returns a dom element corresponding to a html
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `html` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(i & children)
(i attrs & children)
Returns a dom element corresponding to a i
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `i` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(iframe & children)
(iframe attrs & children)
Returns a dom element corresponding to a iframe
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `iframe` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(image & children)
(image attrs & children)
Returns a dom element corresponding to a image
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `image` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(img & children)
(img attrs & children)
Returns a dom element corresponding to a img
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `img` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(input & children)
(input attrs & children)
Returns a dom element corresponding to a input
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `input` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(ins & children)
(ins attrs & children)
Returns a dom element corresponding to a ins
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `ins` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(kbd & children)
(kbd attrs & children)
Returns a dom element corresponding to a kbd
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `kbd` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(keyed key dom)
Associate a key with a virtual DOM node.
Associate a key with a virtual DOM node.
(keygen & children)
(keygen attrs & children)
Returns a dom element corresponding to a keygen
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `keygen` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(label & children)
(label attrs & children)
Returns a dom element corresponding to a label
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `label` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(legend & children)
(legend attrs & children)
Returns a dom element corresponding to a legend
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `legend` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(letdom clauses body0 & bodies)
Bind DOM nodes to names for use in event handlers.
This should be used together with [[reacl.core/class]] or [[reacl.core/defclass]].
Its syntax is like let
, but all right-hand sides must evaluate to
virtual DOM nodes - typically input elements.
The objects can be used with the dom-node
function,
which returns the corresponding real DOM node.
Example:
(reacl.core/defclass search-bar
app-state [filter-text in-stock-only on-user-input]
render
(fn [& {:keys [dom-node]}]
(dom/letdom
[textbox (dom/input
{:type "text"
:placeholder "Search..."
:value filter-text
:onChange (fn [e]
(on-user-input
(.-value (dom-node textbox))
(.-checked (dom-node checkbox))))})
checkbox (dom/input
{:type "checkbox"
:value in-stock-only
:onChange (fn [e]
(on-user-input
(.-value (dom-node textbox))
(.-checked (dom-node checkbox))))})]
(dom/form
textbox
(dom/p
checkbox
"Only show products in stock")))))
Note that the resulting DOM-node objects need to be used together
with the other DOM wrappers in reacl2.dom
.
Bind DOM nodes to names for use in event handlers. This should be used together with [[reacl.core/class]] or [[reacl.core/defclass]]. Its syntax is like `let`, but all right-hand sides must evaluate to virtual DOM nodes - typically input elements. The objects can be used with the [[dom-node]] function, which returns the corresponding real DOM node. Example: (reacl.core/defclass search-bar app-state [filter-text in-stock-only on-user-input] render (fn [& {:keys [dom-node]}] (dom/letdom [textbox (dom/input {:type "text" :placeholder "Search..." :value filter-text :onChange (fn [e] (on-user-input (.-value (dom-node textbox)) (.-checked (dom-node checkbox))))}) checkbox (dom/input {:type "checkbox" :value in-stock-only :onChange (fn [e] (on-user-input (.-value (dom-node textbox)) (.-checked (dom-node checkbox))))})] (dom/form textbox (dom/p checkbox "Only show products in stock"))))) Note that the resulting DOM-node objects need to be used together with the other DOM wrappers in `reacl2.dom`.
(li & children)
(li attrs & children)
Returns a dom element corresponding to a li
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `li` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(line & children)
(line attrs & children)
Returns a dom element corresponding to a line
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `line` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(linearGradient & children)
(linearGradient attrs & children)
Returns a dom element corresponding to a linearGradient
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `linearGradient` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(link & children)
(link attrs & children)
Returns a dom element corresponding to a link
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `link` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(main & children)
(main attrs & children)
Returns a dom element corresponding to a main
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `main` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(map & children)
(map attrs & children)
Returns a dom element corresponding to a map
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `map` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(mark & children)
(mark attrs & children)
Returns a dom element corresponding to a mark
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `mark` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(marker & children)
(marker attrs & children)
Returns a dom element corresponding to a marker
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `marker` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(mask & children)
(mask attrs & children)
Returns a dom element corresponding to a mask
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `mask` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(menu & children)
(menu attrs & children)
Returns a dom element corresponding to a menu
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `menu` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(menuitem & children)
(menuitem attrs & children)
Returns a dom element corresponding to a menuitem
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `menuitem` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(meta & children)
(meta attrs & children)
Returns a dom element corresponding to a meta
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `meta` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(metadata & children)
(metadata attrs & children)
Returns a dom element corresponding to a metadata
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `metadata` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(meter & children)
(meter attrs & children)
Returns a dom element corresponding to a meter
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `meter` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(mpath & children)
(mpath attrs & children)
Returns a dom element corresponding to a mpath
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `mpath` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(nav & children)
(nav attrs & children)
Returns a dom element corresponding to a nav
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `nav` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(noscript & children)
(noscript attrs & children)
Returns a dom element corresponding to a noscript
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `noscript` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(object & children)
(object attrs & children)
Returns a dom element corresponding to a object
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `object` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(ol & children)
(ol attrs & children)
Returns a dom element corresponding to a ol
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `ol` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(optgroup & children)
(optgroup attrs & children)
Returns a dom element corresponding to a optgroup
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `optgroup` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(option & children)
(option attrs & children)
Returns a dom element corresponding to a option
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `option` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(output & children)
(output attrs & children)
Returns a dom element corresponding to a output
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `output` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(p & children)
(p attrs & children)
Returns a dom element corresponding to a p
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `p` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(param & children)
(param attrs & children)
Returns a dom element corresponding to a param
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `param` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(path & children)
(path attrs & children)
Returns a dom element corresponding to a path
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `path` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(pattern & children)
(pattern attrs & children)
Returns a dom element corresponding to a pattern
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `pattern` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(polygon & children)
(polygon attrs & children)
Returns a dom element corresponding to a polygon
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `polygon` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(polyline & children)
(polyline attrs & children)
Returns a dom element corresponding to a polyline
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `polyline` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(pre & children)
(pre attrs & children)
Returns a dom element corresponding to a pre
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `pre` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(progress & children)
(progress attrs & children)
Returns a dom element corresponding to a progress
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `progress` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(q & children)
(q attrs & children)
Returns a dom element corresponding to a q
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `q` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(radialGradient & children)
(radialGradient attrs & children)
Returns a dom element corresponding to a radialGradient
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `radialGradient` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(rect & children)
(rect attrs & children)
Returns a dom element corresponding to a rect
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `rect` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(rp & children)
(rp attrs & children)
Returns a dom element corresponding to a rp
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `rp` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(rt & children)
(rt attrs & children)
Returns a dom element corresponding to a rt
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `rt` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(ruby & children)
(ruby attrs & children)
Returns a dom element corresponding to a ruby
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `ruby` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(s & children)
(s attrs & children)
Returns a dom element corresponding to a s
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `s` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(samp & children)
(samp attrs & children)
Returns a dom element corresponding to a samp
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `samp` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(script & children)
(script attrs & children)
Returns a dom element corresponding to a script
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `script` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(section & children)
(section attrs & children)
Returns a dom element corresponding to a section
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `section` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(select & children)
(select attrs & children)
Returns a dom element corresponding to a select
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `select` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(set & children)
(set attrs & children)
Returns a dom element corresponding to a set
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `set` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(small & children)
(small attrs & children)
Returns a dom element corresponding to a small
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `small` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(source & children)
(source attrs & children)
Returns a dom element corresponding to a source
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `source` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(span & children)
(span attrs & children)
Returns a dom element corresponding to a span
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `span` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(stop & children)
(stop attrs & children)
Returns a dom element corresponding to a stop
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `stop` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(strong & children)
(strong attrs & children)
Returns a dom element corresponding to a strong
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `strong` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(style & children)
(style attrs & children)
Returns a dom element corresponding to a style
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `style` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(sub & children)
(sub attrs & children)
Returns a dom element corresponding to a sub
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `sub` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(summary & children)
(summary attrs & children)
Returns a dom element corresponding to a summary
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `summary` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(sup & children)
(sup attrs & children)
Returns a dom element corresponding to a sup
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `sup` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(svg & children)
(svg attrs & children)
Returns a dom element corresponding to a svg
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `svg` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(switch & children)
(switch attrs & children)
Returns a dom element corresponding to a switch
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `switch` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(symbol & children)
(symbol attrs & children)
Returns a dom element corresponding to a symbol
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `symbol` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(table & children)
(table attrs & children)
Returns a dom element corresponding to a table
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `table` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(tbody & children)
(tbody attrs & children)
Returns a dom element corresponding to a tbody
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `tbody` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(td & children)
(td attrs & children)
Returns a dom element corresponding to a td
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `td` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(text & children)
(text attrs & children)
Returns a dom element corresponding to a text
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `text` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(textarea & children)
(textarea attrs & children)
Returns a dom element corresponding to a textarea
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `textarea` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(textPath & children)
(textPath attrs & children)
Returns a dom element corresponding to a textPath
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `textPath` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(tfoot & children)
(tfoot attrs & children)
Returns a dom element corresponding to a tfoot
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `tfoot` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(th & children)
(th attrs & children)
Returns a dom element corresponding to a th
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `th` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(thead & children)
(thead attrs & children)
Returns a dom element corresponding to a thead
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `thead` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(time & children)
(time attrs & children)
Returns a dom element corresponding to a time
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `time` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(title & children)
(title attrs & children)
Returns a dom element corresponding to a title
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `title` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(tr & children)
(tr attrs & children)
Returns a dom element corresponding to a tr
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `tr` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(track & children)
(track attrs & children)
Returns a dom element corresponding to a track
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `track` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(tspan & children)
(tspan attrs & children)
Returns a dom element corresponding to a tspan
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `tspan` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(u & children)
(u attrs & children)
Returns a dom element corresponding to a u
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `u` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(ul & children)
(ul attrs & children)
Returns a dom element corresponding to a ul
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `ul` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(use & children)
(use attrs & children)
Returns a dom element corresponding to a use
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `use` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(var & children)
(var attrs & children)
Returns a dom element corresponding to a var
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `var` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(video & children)
(video attrs & children)
Returns a dom element corresponding to a video
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `video` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(view & children)
(view attrs & children)
Returns a dom element corresponding to a view
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `view` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
(wbr & children)
(wbr attrs & children)
Returns a dom element corresponding to a wbr
tag. The attrs
argument is an optional map of attributes. The remaining children
arguments must be other elements or strings.
Returns a dom element corresponding to a `wbr` tag. The `attrs` argument is an optional map of attributes. The remaining `children` arguments must be other elements or strings.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close