mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
allow icon left in ion-switch
This commit is contained in:
@ -8,13 +8,10 @@
|
||||
List Header
|
||||
</ion-header>
|
||||
|
||||
<ion-item>
|
||||
<ion-switch>
|
||||
<icon wifi item-left></icon>
|
||||
Wifi
|
||||
<div class="item-note" item-right>
|
||||
Terrible
|
||||
</div>
|
||||
</ion-item>
|
||||
</ion-switch>
|
||||
|
||||
<ion-item>
|
||||
<icon heart item-left></icon>
|
||||
@ -41,13 +38,10 @@
|
||||
List Header
|
||||
</ion-header>
|
||||
|
||||
<ion-item>
|
||||
<ion-switch checked="true">
|
||||
<icon color-wand item-left></icon>
|
||||
Magic
|
||||
<div class="item-note" item-right>
|
||||
Activated
|
||||
</div>
|
||||
</ion-item>
|
||||
</ion-switch>
|
||||
|
||||
<ion-item>
|
||||
<icon star item-left></icon>
|
||||
|
@ -22,6 +22,14 @@
|
||||
<icon forward item-right></icon>
|
||||
</a>
|
||||
|
||||
<ion-switch checked="true">
|
||||
Switch
|
||||
</ion-switch>
|
||||
|
||||
<ion-checkbox checked="true">
|
||||
Checkbox
|
||||
</ion-checkbox>
|
||||
|
||||
<button ion-item>
|
||||
<icon boat item-left></icon>
|
||||
List Button Item 1
|
||||
|
@ -135,6 +135,7 @@ class MediaSwitch {
|
||||
})
|
||||
@IonicView({
|
||||
template:
|
||||
'<ng-content select="[item-left]"></ng-content>' +
|
||||
'<ion-item-content id="{{labelId}}">' +
|
||||
'<ng-content></ng-content>' +
|
||||
'</ion-item-content>' +
|
||||
|
@ -11,7 +11,7 @@ exports.config = {
|
||||
specs: 'dist/e2e/**/*e2e.js',
|
||||
//specs: 'dist/e2e/switch/basic/*e2e.js',
|
||||
|
||||
sleepBetweenSpecs: 1300,
|
||||
sleepBetweenSpecs: 1500,
|
||||
|
||||
platformDefauls: {
|
||||
browser: 'chrome',
|
||||
|
Reference in New Issue
Block a user