kvision / pl.treksoft.kvision.html / Button / button

button

fun Container.button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Unit

DSL builder extension function

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