mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-04 13:55:02 +01:00
531 B
531 B
<et2-switch-icon></et2-switch-icon>
:::tip
There are multiple components for dealing with boolean yes / no.
- Et2SwitchIcon: This one
- ButtonToggle: A button that shows an icon
- Checkbox: Classic checkbox
- Switch: Switch to turn something on or off
:::
Examples
Custom icons
Use the onIcon
and offIcon
properties to customise what is displayed
<et2-switch-icon onIcon="plus" offIcon="minus"></et2-switch-icon>