@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 653 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FacetsService](./x-components.facetsservice.md) > [updatePreselectedFilters](./x-components.facetsservice.updatepreselectedfilters.md)
## FacetsService.updatePreselectedFilters() method
Replaces the preselected filters with the new ones.
**Signature:**
```typescript
updatePreselectedFilters(filters: Filter[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| filters | Filter\[\] | An array of filters. |
**Returns:**
void