refactor(infinite-scroll): rename the elements to include the word scroll

update API docs & rename endLoading function to complete.

references #5415
This commit is contained in:
Brandy Carney
2016-02-29 15:49:39 -05:00
parent 1bb51c2e26
commit 29d3bb1fcb
5 changed files with 41 additions and 42 deletions

View File

@@ -22,7 +22,7 @@ class E2EApp {
}
console.log('Finished receiving data, async operation complete');
infiniteScroll.endLoading();
infiniteScroll.complete();
if (this.items.length > 90) {
infiniteScroll.enable(false);

View File

@@ -8,11 +8,11 @@
</ion-item>
</ion-list>
<ion-infinite (infinite)="doInfinite($event)" threshold="100px">
<ion-infinite-content
<ion-infinite-scroll (infinite)="doInfinite($event)" threshold="100px">
<ion-infinite-scroll-content
loadingSpinner="bubbles"
loadingText="Loading more data...">
</ion-infinite-content>
</ion-infinite>
</ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>