@tempots/dom
DOMNode() function
Creates a renderable DOM node.
Signature:
DOMNode: (node: Node) => Renderable
Parameters
Parameter |
Type |
Description |
---|---|---|
node |
Node |
The DOM node to render. |
Returns: Renderable
A function that can be called to remove the rendered node from the DOM.