Add an event listener to the listener list.
The type of the event.
The listener to call when the specified event type occurs
Optional. An Id to reference the listener by.
The id to reference the listener by. For use in removing the listener. If not explicitly provided a listener Id will be generated.
Add an event listener to the listener list.
The type of the event.
The listener to call when the specified event type occurs
Optional. An Id to reference the listener by.
The id to reference the listener by. For use in removing the listener. If not explicitly provided a listener Id will be generated.
Clear all event listeners for a given event type.
The type of the event.
Notify event listeners when an event has occured. Overloads:
Notify event listeners when an event has occured. Overloads:
Remove an event listener.
The id of the listener to remove.
Generated using TypeDoc
Tracks event listeners and notifies them when events occur.