mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
refactor(toggle): renamed ion-switch to ion-toggle
This commit is contained in:
@ -10,53 +10,53 @@
|
||||
<ion-content>
|
||||
|
||||
<ion-list>
|
||||
<ion-switch value="foo" checked="true">
|
||||
<ion-toggle value="foo" checked="true">
|
||||
Frodo Baggins
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch energized>
|
||||
<ion-toggle energized>
|
||||
Sam
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch danger checked="true">
|
||||
<ion-toggle danger checked="true">
|
||||
Éowyn
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch royal checked="true">
|
||||
<ion-toggle royal checked="true">
|
||||
Legolas
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch danger>
|
||||
<ion-toggle danger>
|
||||
Gimli
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch dark checked="true">
|
||||
<ion-toggle dark checked="true">
|
||||
Saruman
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch energized checked="true">
|
||||
<ion-toggle energized checked="true">
|
||||
Gandalf
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch royal>
|
||||
<ion-toggle royal>
|
||||
Arwen
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch secondary checked="true">
|
||||
<ion-toggle secondary checked="true">
|
||||
Treebeard
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch royal>
|
||||
<ion-toggle royal>
|
||||
Boromir
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch dark checked="true">
|
||||
<ion-toggle dark checked="true">
|
||||
Gollum
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
<ion-switch energized>
|
||||
<ion-toggle energized>
|
||||
Galadriel
|
||||
</ion-switch>
|
||||
</ion-toggle>
|
||||
|
||||
|
||||
</ion-list>
|
||||
|
Reference in New Issue
Block a user