kvision / pl.treksoft.kvision.core / Widget / render

render

(js) protected open fun render(): VNode

Renders current component as a Snabbdom vnode.

Return
Snabbdom vnode

(js) protected open fun render(elementName: String): VNode

Renders current component as a Snabbdom vnode.

Parameters

elementName - HTML element name

Return
Snabbdom vnode

(js) protected open fun render(elementName: String, children: Array<dynamic>): VNode

Renders current component as a Snabbdom vnode.

Parameters

elementName - HTML element name

children - array of children nodes

Return
Snabbdom vnode