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

<init>

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

Parameters

content - the text of the label

rich - determines if content can contain HTML code

forId - the ID of the labeled element

classes - a set of CSS class names

init - an initializer extension function

Constructor