Module savory_elements::element::switch [−][src]
Switch element
Switchs are common elements in most apps, Savory ships switch element that covers common usages.
Switch accept these values on it’s initialization:
- toggled: initial value
- text: text descripe the switch
- color: color used when the switch toggled
- checkbox like: this tells the switch element to look like checkbox instead
See Switch
docs to find out more about its methods.
Usage
TODO
Structs
Config | |
StyleMap | |
Switch | |
SwitchLens |
Enums
Msg |