How to call refine programmatically

Hello,
I’m using Vue instant search: Getting Started | Building Search UI | Guide | Algolia Documentation and want to have a way to refine the search result programmatically based on a search phrase, the use case that I’m redirecting the user from page 1 to page 2 which has the search component while sending a param that needs to be set as default value in the search box.

Hi @comerce
If you customize a pagination component, you can get an access to refine function and calling refine(2) will change to page 2.

You can read this To know more about creating a custom pagination component.

Let me know how it goes and if you have any question about it.