AbstractCreates an instance of AbstractListener.
Element or window that dispatches the event
Type of the event
OptionalisCustomEvent: boolean = false
True when the event is a custom event, false for a native DOM event
ProtectedeventStore the listener callback
ProtecteduseFlag to indicate if event will be dispatched to the registered listener before being dispatched to any EventTarget beneath it in the DOM tree.
Getter for handlers
Getter that allows to obtain the eventTarget reference
Method to add a new handler
Function to run when the event is triggered
Method to check if the Array has a given handler
Function to run when the event is triggered
Method to check if the Array has handlers
Method to remove a given handler
Function to run when the event is triggered
Method to trigger ahh handlers on the Array
Optionaldata: T
Data passed to the handlers
Extra arguments passed to the handlers
Method to add a new eventListener
Method to remove a eventListener
Abstract class that will be responsible for the basic behaviours of a listener, namely storing the callbacks.