The type of the event target.
The type of the callback executed by this listener.
The type of the event target.
The type of the callback executed by this listener.
FunctionaddListener
The listener properties to add.
FunctionaddListener
The listener to add.
FunctionremoveListener
The listener callback to remove.
FunctionremoveListener
The listener to remove.
FunctionremoveMatchingListeners
OptionalmatchingProperties: MatchListenerProperties<TargetType, CallbackType> = {}Properties to match.
Removes all listeners that match the provided properties (see Listener.match).
FunctiongetListeners
OptionalmatchingProperties: MatchListenerProperties<TargetType, CallbackType> = {}Properties to match.
Matching listeners.
Returns all listeners matching the provided properties (see Listener.match).
FunctiongetListenersByType
Event type.
Set of listeners for that type.
ListenerSet
Description
Collection of Listener instances indexed by event type. Provides helpers to add/remove/query listeners and to remove listeners matching criteria.