Stops running the renderFunction
to update the DOM. The renderFunction
must have been
registered using [[append]], [[merge]], [[insertBefore]] or [[replace]].
The [[Projection]] which was created using this renderFunction
.
The [[Projection]] contains a reference to the DOM Node that was rendered.
Inserts a new DOM node using the result from the provided renderFunction
.
The renderFunction
will be invoked again to update the DOM when needed.
Merges a new DOM node using the result from the provided renderFunction
with an existing DOM Node.
This means that the virtual DOM and real DOM have one overlapping element.
Therefore the selector for the root [[VNode]] will be ignored, but its properties and children will be applied to the Element provided
The renderFunction
will be invoked again to update the DOM when needed.
Synchronously re-renders to the DOM. You should normally call the scheduleRender()
function to keep the
user interface more performant. There is however one good reason to call renderNow(),
when you want to put the focus into a newly created element in iOS.
This is only allowed when triggered by a user-event, not during requestAnimationFrame.
Replaces an existing DOM node with the result from the provided renderFunction
.
The renderFunction
will be invoked again to update the DOM when needed.
Instructs the projector to re-render to the DOM at the next animation-frame using the registered render
functions.
This method is automatically called for you when event-handlers that are registered in the [[VNode]]s are invoked.
You need to call this method when timeouts expire, when AJAX responses arrive or other asynchronous actions happen.
Generated using TypeDoc
Appends a new child node to the DOM using the result from the provided
renderFunction
. TherenderFunction
will be invoked again to update the DOM when needed.