mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
@ -10,4 +10,10 @@ class E2EApp {
|
||||
this.shouldShow = true;
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
getItems() {
|
||||
console.log('getItems');
|
||||
return [1,2,3,4];
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -43,4 +43,12 @@
|
||||
<button primary>Archive</button>
|
||||
</ion-item-options>
|
||||
</ion-item-sliding>
|
||||
|
||||
<ion-item-sliding text-wrap detail-push *ng-for="#item of getItems()">
|
||||
<h3>{{item}}</h3>
|
||||
<ion-item-options>
|
||||
<button primary>Archive</button>
|
||||
</ion-item-options>
|
||||
</ion-item-sliding>
|
||||
|
||||
</ion-list>
|
||||
|
Reference in New Issue
Block a user