Closed shoored closed 3 years ago
Can you elaborate a bit on this?
I think @studiosyntax means the ability to return the URLs for multiple previous/next links.
https://docs.craftcms.com/v3/dev/tags/paginate.html#nearby-page-links
That's the documentation link for it.
This would be an awesome addition to this plugin.
When working with ElementAPI and a Javascript front-end — for example Vue — the pagination options are a bit slim.
It would be nice to be able to create the same pagination links as we can with Twig Pagination while also preserving the querystrings as is with the current prev and next links in the JSON meta object.