Use the SearchStax Site Search Vue results widget to display search results with pagination or infinite scrolling on a custom search page.
Usage
<SearchstaxResultWidget :afterLinkClick="afterLinkClick"
> </SearchstaxResultWidget>
Props
-
renderMethod– Choose either "pagination" or "infiniteScroll". -
resultsPerPage– The number of results to display on a page. -
afterLinkClick– A callback function that runs when a user clicks a result link. You can use this to modify the result object.
Example
For a full example, see searchstax-ux-vue.