Ons Switch Input
constructor(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null)
Creates a switch input component.
Parameters
value
switch input value
input Id
the ID of the input element
class Name
CSS class names
init
an initializer extension function