EventDispatcher
Dispatches events to listeners registered by event name and capture flag.
Parameters
target
The dispatcher exposed as the current event target, or null to use this instance.
Inheritors
Functions
Link copied to clipboard
Registers a listener for an event name and capture flag.
Registers a listener with capture disabled.
Link copied to clipboard
Delivers an event to the matching listeners.
Link copied to clipboard
Creates and dispatches an event with the given name, bubbling flag, and payload.
Creates and dispatches a non-bubbling event without a payload.
Creates and dispatches an event without a payload.
Link copied to clipboard
Unregisters a listener using the event name and capture flag supplied during registration.
Unregisters a listener registered with capture disabled.