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 behavespecificFacets?: string[];
// optional array of facet names that if provided will only render those facetsitemsPerPageDesktop: number;
// default expanded facets for desktopitemsPerPageMobile: number;
// default expanded facets for mobiletemplateOverrideMobile
– template override for mobile viewtemplateOverrideDesktop
– template override for desktop view
Example
For a full example, see searchstax-ux-angular.
Questions?
Do not hesitate to contact the SearchStax Support Desk.