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

<init>

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

Parameters

content - element text

rich - determines if content can contain HTML code

align - content align

classes - a set of CSS class names

init - an initializer extension function

Constructor