kvision / pl.treksoft.kvision.html / Tag / <init>

<init>

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)

Parameters

type - tag type

content - content text of the tag

rich - determines if content can contain HTML code

align - content align

classes - a set of CSS class names

attributes - a map of additional attributes

init - an initializer extension function

Constructor