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.
Function
addListener
The listener properties to add.
Function
addListener
The listener to add.
Function
removeListener
The listener callback to remove.
Function
removeListener
The listener to remove.
Function
removeMatchingListeners
OptionalmatchingProperties: MatchListenerProperties<TargetType, CallbackType> = {}
Properties to match.
Removes all listeners that match the provided properties (see Listener.match).
Function
getListeners
OptionalmatchingProperties: MatchListenerProperties<TargetType, CallbackType> = {}
Properties to match.
Matching listeners.
Returns all listeners matching the provided properties (see Listener.match).
Function
getListenersByType
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.