Results Widget JS
The SearchStax Site Search solution’s Results Widget for UX-JS displays the search results.
Usage
searchstax.addSearchResultsWidget("searchstax-results-container", {
  renderMethod: "pagination",
  resultsPerPage: 10
});
Props
- renderMethod– either “pagination” or “infiniteScroll”.
- resultsPerPage– number of results on a page.
- hooks.afterLinkClick– Callback function invoked when a result link is clicked. Allows modifying the result object.
- templates– see examples at searchstax-ux-js.
Example
See the full examples at searchstax-ux-js.
Questions?
Do not hesitate to contact the SearchStax Support Desk.