kvision / pl.treksoft.kvision.form.check / CheckBox / checkBox

checkBox

fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): CheckBox

DSL builder extension function.

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