SearchstaxFacetsWidget Vue


The SearchStax Site Search solution offers a Vue SearchstaxFacetsWidget component to display facets on your custom search page.

The SearchstaxFacetsWidget component displays the facet filters.

Facet Selection and Order

Facet lists are configured and ordered on the Site Search Faceting Tab.

Usage

<SearchstaxFacetsWidget
              :facetingType="'or'"
              :itemsPerPageDesktop="3"
              :itemsPerPageMobile="99"
></SearchstaxFacetsWidget>

Props

  • facetingType – Determines how facets will behave: ‘and’, ‘or’, ‘showUnavailable’, ‘tabs’
  • itemsPerPageDesktop – Default expanded facets for desktop
  • itemsPerPageMobile – Default expanded facets for mobile
  • specificFacets – Optional string array of facet names that, if provided, will only render those facets

Example

For the full example, see searchstax-ux-vue.

Questions?

Do not hesitate to contact the SearchStax Support Desk.