<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQueriesMutations](./x-components.historyqueriesmutations.md) &gt; [setIsEnabled](./x-components.historyqueriesmutations.setisenabled.md)

## HistoryQueriesMutations.setIsEnabled() method

Sets the [HistoryQueriesState.isEnabled](./x-components.historyqueriesstate.isenabled.md) property.

**Signature:**

```typescript
setIsEnabled(isEnabled: boolean): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  isEnabled | boolean | The new [HistoryQueriesState.isEnabled](./x-components.historyqueriesstate.isenabled.md)<!-- -->. |

**Returns:**

void

