kvision / pl.treksoft.kvision.core / widget

widget

(js) fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget

DSL builder extension function.

It takes the same parameters as the constructor of the built component.