fix(item-sliding): runOutsideAngular

Closes #277
This commit is contained in:
Adam Bradley
2015-10-15 12:21:03 -05:00
parent 8a5778661b
commit 75e71de22b
3 changed files with 60 additions and 47 deletions

View File

@ -10,4 +10,10 @@ class E2EApp {
this.shouldShow = true;
}, 5000);
}
getItems() {
console.log('getItems');
return [1,2,3,4];
}
}

View File

@ -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>