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

render

protected open fun render(): VNode

Renders current component as a Snabbdom vnode.

Return
Snabbdom vnode

protected open fun render(elementName: String): VNode

Renders current component as a Snabbdom vnode.

Parameters

elementName - HTML element name

Return
Snabbdom vnode

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