OnsSwitchInput

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

inputId

the ID of the input element

className

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.

Properties

Link copied to clipboard

The ID of the input element.

Link copied to clipboard

A modifier attribute to specify custom styles.

Functions

Link copied to clipboard
open fun afterInsert(node: <Error class: unknown class>)
Link copied to clipboard
open fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun refreshState()
Link copied to clipboard
open override fun render(): <Error class: unknown class>