The name of the event which will trigger the listenerFunction on the element. (keyof HTMLElementEventMap)
An element to append the listener onto
The function which will be invoked when the event is triggered
Additional options to how the event will be fired
Provide compatibility for assigning listeners.