OnsSwitchInput

constructor(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null)

Creates a switch input component.

Parameters

value

switch input value

inputId

the ID of the input element

className

CSS class names

init

an initializer extension function