AdvancedComponent

Deprecated

Use kweb.components.Component instead, see: https://docs.kweb.io/book/components.html

AdvancedComponents can be rendered into DOM elements by calling AdvancedComponent.render.

Unlike Component, AdvancedComponents allows the parent element type to be configured, and a return type to be specified.

Functions

Link copied to clipboard
abstract fun render(elementCreator: ElementCreator<PARENT_ELEMENT_TYPE>): RETURN_TYPE

Render this Component into DOM elements, returning an arbitrary value of type RETURN_TYPE.

Inheritors

Link copied to clipboard