kvision / pl.treksoft.kvision.form.check / CheckInput / checkInput

checkInput

fun Container.checkInput(type: CheckInputType = CheckInputType.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): CheckInput

DSL builder extension function.

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