Home > @findkit/ui > Emitter > emit

Emitter.emit() method

Emit event to the event handlers

Signature:

emit<EventName extends keyof Events>(eventName: EventName, event: Events[EventName]): void;

Parameters

Parameter Type Description
eventName EventName
event Events[EventName]

Returns:

void