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

<init>

Span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> 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