kvision / pl.treksoft.kvision.core / widgetWrapper

widgetWrapper

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

DSL builder extension function.

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