@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 576 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [UrlMutations](./x-components.urlmutations.md) > [setFilters](./x-components.urlmutations.setfilters.md)
## UrlMutations.setFilters() method
Sets the new filter ids.
**Signature:**
```typescript
setFilters(filters: Filter[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| filters | Filter\[\] | The new filter ids of the url. |
**Returns:**
void