Tag

constructor(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, className: String? = null, attributes: Map<String, String>? = null, 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

className

CSS class names

attributes

a map of additional attributes

init

an initializer extension function