Home > widget-integration > EventPayload
EventPayload interface
Base payload structure for filter events.
Contains the event key, new value, and optionally the previous value for tracking state transitions.
Signature:
export interface EventPayload
Remarks
Specific event types may extend this with additional properties.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
keyof typeof EVENT_NAMES |
The event that was triggered | ||
|
unknown |
New value after the change | ||
|
unknown |
(Optional) Previous value before the change (optional) |