Methods
deselectFacet(facet, triggerEvents)
Removes the facet identified by path from selected facets.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
facet |
string | object | facet or path | |
triggerEvents |
boolean | true | default=true |
- Source:
indexOf(path) → {number}
Returns the index of the facet identified by path from
selected facets. If the facet is not selected -1 is returned.
Parameters:
Name | Type | Description |
---|---|---|
path |
string |
- Source:
Returns:
index
- Type
- number
selectFacet(path, triggerEvents)
Selects a facet for restriction.
Parameters:
Name | Type | Description |
---|---|---|
path |
string | |
triggerEvents |
boolean | default=true |
- Source:
setAvailableFacets(facets)
Sets all available facets.
Parameters:
Name | Type | Description |
---|---|---|
facets |
Object |
- Source: