Template ionic and inifinite scrool
-
alphaa
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 36
-
Thank you received: 0
-
-
8 years 8 months ago #5142
by alphaa
Hi, i want to add the infinite scrool in the project Jbackend :
i add this in index.html :
<ion-infinite-scroll on-infinite="loadMore()" distance="1%"></ion-infinite-scroll>
So i don't know how can i modified my controllers.js . Can u help me plz?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 8 months ago #5146
by admin
Hi,
the loadMore function in the controller should manage pagination, but it is not possible to provide more details in this support forum (it is out of scope). Maybe you can find this link helpful:
mcgivery.com/ionic-infinite-scroll/
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds