ionic Toggle (switch)
A toggle is similar to the HTML checkbox tag, but it is easier to use on mobile devices.
A toggle can use toggle-assertive to specify its color.
This example has a list of multiple toggles. Note that the item-toggle class needs to be added after the item class of each option.
-
HTML5
...
The running result is as follows: