<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesActions](./x-components.historyqueriesactions.md) &gt; [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;
```
