@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 478 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) > [toggle](./x-components.facetsservice.toggle.md)
## FacetsService.toggle property
Selects a deselected filter, and deselects a selected filter, adding them to the store in both cases.
**Signature:**
```typescript
toggle: (filter: Filter) => void;
```