Vue - Results Widget

Overview

SearchStax Site Search offers a Vue results widget for your custom search page. The SearchstaxResultsWidget component displays search results.

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.

Articles in this section