Owners perform event-specific state updates before calling
dispatch. Dispatch then invokes the singular handler followed by a
snapshot of listeners in insertion order.
Type Parameters
EventMapextendsRecord<string,unknown>
Maps event names to their listener parameter types.
Protocol-independent DOM-style event fan-out.
Owners perform event-specific state updates before calling dispatch. Dispatch then invokes the singular handler followed by a snapshot of listeners in insertion order.