kvision / pl.treksoft.kvision.html / main

main

(js) fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Main.() -> Unit)? = null): Main

DSL builder extension function.

It takes the same parameters as the constructor of the built component.