Apr 01, 2023
Filters component
On this page
The component class that uses the usf.templates.filters
template to render the facet filters.
Properties
facets |
type: Objectrequired The facets object pulled from the indexing server. |
facetFilters |
type: Objectrequired The selected filter values. |
collapsed |
type: Objectrequired The object containing the collapsed facet filters. |
loc |
type: Objectread-only The localization object storing localized strings. |
isEmpty |
type: Booleanread-onlytrue if the returned data is empty; otherwise false . |
Methods
onMobileBack |
void onMobileBack(close: String) Invoked when user clicks on the Back button in mobile mode. If the close parameter is true the mobile drawer is closing; otherwise false . |
applyFacetFilters |
void applyFacetFilters(facetFilters: Object) Applies the specified facetFilters to the filters. |
removeAllFacetFilters |
void removeAllFacetFilters() Clears all facet filter values. |