Forum Academy Marketplace Showcase Pricing Features

How to implment Infinite scrolling(Extendable Verticle Scrolling) on API response?

Actually,i have an API that returns 10 posts in single API call.I pass offset to the api and it returns at max 10 posts in single api call on base of provided offset.How can i display these posts in repeating group with extendable verticle scrolling.So,that when i reach at page end,it automatically fetch new posts from api and display them on the page.

look into the elements in view plugin…there is a forum post on the topic of plugin and a user demonstrated it using a rg which would load new results after user scrolled…you’d be able to implement something similar but will need to incorporate your api calls and also change the offset in the call.