@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 822 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ExperienceControlsMutations](./x-components.experiencecontrolsmutations.md) > [setControls](./x-components.experiencecontrolsmutations.setcontrols.md)
## ExperienceControlsMutations.setControls() method
Sets the [ExperienceControlsState.controls](./x-components.experiencecontrolsstate.controls.md) property.
**Signature:**
```typescript
setControls(controls: Dictionary<unknown>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| controls | Dictionary<unknown> | The new [ExperienceControlsState.controls](./x-components.experiencecontrolsstate.controls.md)<!-- -->. |
**Returns:**
void