Variadic element factory function. Takes an element specific attrib object (or null
if no user attribs are needed) and any number of arbitrary body elements (unless children are explicitly disallowed as is the case for some HTML elements).
Optionally, an Emmet-style string in the form #id.class1.class2
or .class1.class2
can be given as first argument.
Returns element as hiccup tuple, e.g. ["tag", attribs|null, ...body]
Variadic element factory function. Takes an element specific attrib object (or null
if no user attribs are needed) and any number of arbitrary body elements (unless children are explicitly disallowed as is the case for some HTML elements).
Optionally, an Emmet-style string in the form #id.class1.class2
or .class1.class2
can be given as first argument.
Returns element as hiccup tuple, e.g. ["tag", attribs|null, ...body]
Generated using TypeDoc
Variadic element factory function. Takes an element specific attrib object (or
null
if no user attribs are needed) and any number of arbitrary body elements (unless children are explicitly disallowed as is the case for some HTML elements).Optionally, an Emmet-style string in the form
#id.class1.class2
or.class1.class2
can be given as first argument.Returns element as hiccup tuple, e.g.
["tag", attribs|null, ...body]