Calls each of the listeners registered for a given event.
The event name.
Arguments that are passed to registered listeners
true
if the event had listeners, else false
.
Return an array listing the events for which the emitter has registered listeners.
Return the listeners registered for a given event.
The event name.
Check if there listeners for a given event.
If exists
argument is not true
lists listeners.
The event name.
Only check if there are listeners.
Alias method for removeListener
Add a listener for a given event.
The event name.
The listener function.
this
.
Add a one-time listener for a given event.
The event name.
The listener function.
this
.
Remove all listeners, or those of the specified event.
The event name.
this
.
Remove the listeners of a given event.
The event name.
Only remove the listeners that match this function.
Only remove the listeners that have this context.
Only remove one-time listeners.
this
.
This function doesn't apply anymore.
Generated using TypeDoc
Alias method for
on