Type alias ProviderEvent<KEventName>

ProviderEvent<KEventName>: {
    type: KEventName;
    data: ProviderEventMapping[KEventName];
}

Represents an event emitted by a widget.

Type Parameters

  • KEventName extends keyof ProviderEventMapping

    The provider event name.

Type declaration

  • type: KEventName

    The type of the event.

  • data: ProviderEventMapping[KEventName]

    The data associated with the event.

Generated using TypeDoc