Switch

constructor(value: Boolean = false, name: String? = null, labelFirst: Boolean = false, label: String? = null, rich: Boolean = false, init: Switch.() -> Unit? = null)

Parameters

value

selection state

name

the name of the input element

labelFirst

render the label as the first child

label

label text bound to the input element

rich

determines if label can contain HTML code

init

an initializer extension function