kvision / pl.treksoft.kvision.html / Label / label

label

fun Container.label(text: String, rich: Boolean = false, init: Label.() -> Unit = null): Label

DSL builder extension function.

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