@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 675 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsMutations](./x-components.facetsmutations.md) > [setStickyFilter](./x-components.facetsmutations.setstickyfilter.md)
## FacetsMutations.setStickyFilter() method
Adds the filter to the [sticky filters](./x-components.facetsstate.stickyfilters.md) record.
**Signature:**
```typescript
setStickyFilter(filter: RawFilter): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| filter | RawFilter | The filter to set in the store. |
**Returns:**
void