mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -45,8 +45,6 @@ class MediaSwitch {
|
||||
|
||||
|
||||
/**
|
||||
* @name ionSwitch
|
||||
* @description
|
||||
* A switch technically is the same thing as an HTML checkbox input, except it looks different and is easier to use on a touch device. Ionic prefers to wrap the checkbox input with the <label> in order to make the entire toggle easy to tap or drag.
|
||||
*
|
||||
* Toggles can also have colors assigned to them, by adding the `toggle-assertive` attribute to assign the assertive color.
|
||||
|
||||
Reference in New Issue
Block a user