kvision / pl.treksoft.kvision.html / Tag / tag

tag

fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag

DSL builder extension function.

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