kvision / pl.treksoft.kvision.html / H2 / h2

h2

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

DSL builder extension function.

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