kvision / pl.treksoft.kvision.onsenui.form / OnsSwitchInput / <init>

<init>

(js) OnsSwitchInput(value: Boolean = false, inputId: String? = null, classes: Set<String> = setOf(), init: (OnsSwitchInput.() -> Unit)? = null)

Creates a switch input component.

Parameters

value - switch input value

inputId - the ID of the input element

classes - a set of CSS class names

init - an initializer extension function

Constructor
Creates a switch input component.