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

<init>

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

Parameters

elementName - element name

content - element text

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