Create a real DOM element from a virtual element node.
The virtual element node to realize.
A new DOM element for the given virtual element node.
This creates a brand new real DOM element with a structure which matches the given virtual DOM node.
If virtual diffing is desired, use the render
function instead.
Render virtual DOM content into a host element.
The virtual DOM content to render.
The host element for the rendered content.
This renders the delta from the previous rendering. It assumes that the content of the host element is not manipulated by external code.
Providing null
content will clear the rendering.
Externally modifying the provided content or the host element will result in undefined rendering behavior.
Generated using TypeDoc
The namespace for the virtual DOM rendering functions.