SearchstaxFacetsWidget Angular


The SearchStax Site Search solution offers the SearchstaxFacetsWidget for Angular to display the search facets.

Facet Selection and Order

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

Usage

<app-searchstax-search-facets
            [facetingType]="'showUnavailable'"
            [itemsPerPageDesktop]="2"
            [itemsPerPageMobile]="99"
          ></app-searchstax-search-facets>

Props

  • facetingType: “and” | “or” | “showUnavailable” | “tabs”; // type that determines how facets will behave
  • specificFacets?: string[]; // optional array of facet names that if provided will only render those facets
  • itemsPerPageDesktop: number; // default expanded facets for desktop
  • itemsPerPageMobile: number; // default expanded facets for mobile
  • templateOverrideMobile – template override for mobile view
  • templateOverrideDesktop – template override for desktop view

Example

For a full example, see searchstax-ux-angular.

Questions?

Do not hesitate to contact the SearchStax Support Desk.