@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 848 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) > [setEvents](./x-components.experiencecontrolsmutations.setevents.md)
## ExperienceControlsMutations.setEvents() method
Sets the [ExperienceControlsState.events](./x-components.experiencecontrolsstate.events.md) property.
**Signature:**
```typescript
setEvents(events: Partial<XEventsTypes>): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| events | Partial<[XEventsTypes](./x-components.xeventstypes.md)<!-- -->> | The new [ExperienceControlsState.events](./x-components.experiencecontrolsstate.events.md)<!-- -->. |
**Returns:**
void