Supported events type.
Supported events type.
Appends an event listener for events of the given type.
Event type.
Listener to append.
Optionaloptions: boolean | AddEventListenerOptions
Listener options.
ProtecteddispatchDispatches a new event of the given type.
false if the event was cancelled, otherwise true.
Dispatches the given event.
Event to dispatch.
false if the event was cancelled, otherwise true.
Removes an event listener for events of the given type.
Event type.
Listener to remove.
Optionaloptions: boolean | EventListenerOptions
Listener options.
Event target for events of type
E.