Closed JosMigue closed 3 years ago
From documentation;
Listening to links @change event
When the current page changes, PaginateLinks emits an event called change to inform you about that. It also passes the switched page numbers with it, if you need them.
<paginate-links for="languages" @change="onLangsPageChange" ></paginate-links>
methods: { onLangsPageChange (toPage, fromPage) { // handle here… } }
Check my jsfiddle
Thanks, it works
From documentation;
Listening to links @change event
When the current page changes, PaginateLinks emits an event called change to inform you about that. It also passes the switched page numbers with it, if you need them.
Check my jsfiddle