mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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:
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user