@HinderiksR wrote:
Hi,
I’m using the ionic infinite scroll plugin and want it to trigger a bit before what it does on default. I saw you could pass the threshold property and either give it pixels or percentages (15% being default).
However even ramping it up to 90% still waits till the very last moment to start loading (seen by console.log in the doInfinite(infiniteScroll) function.
Here is the html:
<ion-infinite-scroll threshold="90%" (ionInfinite)="doInfinite($event)"> <ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="Loading more data..."> </ion-infinite-scroll-content> </ion-infinite-scroll>
Any ideas ?
With best regards,
Robin
Posts: 1
Participants: 1