@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 527 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) > [setFacets](./x-components.facetsservice.setfacets.md)
## FacetsService.setFacets property
Sets the facets of the group. This method just replaces the facets, and keeps the given facet's filters selected state as it is.
**Signature:**
```typescript
setFacets: (facetsGroup: FacetsGroup) => void;
```