kvision / pl.treksoft.kvision.core / widgetWrapper

widgetWrapper

(js) fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper

DSL builder extension function.

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