Package-level declarations

Material web switch component.

Types

Link copied to clipboard
open class MdSwitch(selected: Boolean = false, disabled: Boolean = false, icons: Boolean = false, showOnlySelectedIcon: Boolean = false, required: Boolean = false, value: String = "on", name: String? = null, validationMessage: String? = null, className: String? = null, init: MdSwitch.() -> Unit? = null) : MdFormToggleInputWidget

Switches toggle the state of an item on or off.

Functions

Link copied to clipboard
fun Container.switch(selected: Boolean = false, disabled: Boolean = false, icons: Boolean = false, showOnlySelectedIcon: Boolean = false, required: Boolean = false, value: String = "on", name: String? = null, validationMessage: String? = null, className: String? = null, init: MdSwitch.() -> Unit? = null): MdSwitch