OnsSwitchInput(value: Boolean = false, inputId: String? = null, classes: Set<String> = setOf(), init: (OnsSwitchInput.() -> Unit)? = null)
Creates a switch input component.
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.