open class Label : Tag
Simple label component rendered as span.
Label(text: String, rich: Boolean = false) |
var align: ALIGN?
Text align. |
|
var rich: Boolean
Determines if text can contain HTML code. |
|
var text: String?
Text content of the tag. |
|
var type: TAG
Tag type. |
open fun getSnClass(): List<StringBoolPair>
Returns list of CSS class names for current widget in the form of a List. |
|
open fun render(): VNode
Renders current component as a Snabbdom vnode. |
fun Container.label(text: String, rich: Boolean = false, init: Label.() -> Unit = null): Label
DSL builder extension function. |