new
makes a new HTML element with a type, attributes and children
Parameters
JavaScript parameters
JSX parameters
Returns
Examples
clrly.new("h1", {style: "color: red", class: "element", id: "myId"}, "hello");<h1 style="color: red" class="element" id="myId">hello</h1>More with JSX
variables
events
return (ClearlyJS components)
Last updated