kvision / pl.treksoft.kvision.html / Div / div

div

fun Container.div(text: String, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: Div.() -> Unit = null): Div

DSL builder extension function.

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