@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 597 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [HistoryQueriesActions](./x-components.historyqueriesactions.md) > [toggleHistoryQueries](./x-components.historyqueriesactions.togglehistoryqueries.md)
## HistoryQueriesActions.toggleHistoryQueries property
Toggles the history queries and stores the state in the browser storage. It also cleans the history queries when disabling them.
**Signature:**
```typescript
toggleHistoryQueries: (isEnabled: boolean) => void;
```