UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 639 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [FacetsMutations](./x-components.facetsmutations.md) &gt; [setFilters](./x-components.facetsmutations.setfilters.md) ## FacetsMutations.setFilters() method Adds a list of filters to the [filters](./x-components.facetsstate.filters.md) record. **Signature:** ```typescript setFilters(filters: Filter[]): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | filters | Filter\[\] | The filters to add. | **Returns:** void