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.