Methods
init()
Initial function of the Preact Controller
- Source:
repaint(newVdom)
Painting virtual DOM with the preact renderer.
Parameters:
| Name | Type | Description |
|---|---|---|
newVdom |
VNode | vDom to be paintend |
- Source:
Controller to use a MVC approach using the virtual DOM renderer of preact.
Initial function of the Preact Controller
Painting virtual DOM with the preact renderer.
| Name | Type | Description |
|---|---|---|
newVdom |
VNode | vDom to be paintend |