Ons Switch Input
open class OnsSwitchInput(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null) : OnsCheckBoxInput
OnsenUI 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
Constructors
Link copied to clipboard
constructor(value: Boolean = false, inputId: String? = null, className: String? = null, init: OnsSwitchInput.() -> Unit? = null)
Creates a switch input component.