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

<init>

Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())

Parameters

text - button label

icon - button icon

style - button style

disabled - button state

classes - a set of CSS class names

Constructor