Is There an Example of Pagination via Ajax?

Is there a code example anywhere of pagination done in Kirby 3 using ajax - ie., without full page refresh? How do we handle the fact that the page URL is not being updated?

@luxlogica since the new api is protected by authentification which you can not use savely with js alone unless you do a frontend login or dotenv-vue-magic (afaik) you could to write a custom route or json representation for querying the pagination data. this logic is the same as in kirby version 2 and the forum search should yield some threads for sure.

Here are some:

https://forum.getkirby.com/search?q=ajax%20pagination%20

Only difference you probably wouldn’t use jQuery these days and use content representations instead of returning different stuff from the controller.

But the general procedure is always the same.