Skip to main content
Events - Web documentation

Functions

f
addEventListener

Registers an event listener in the global scope, which will be calledsynchronously whenever the event type is dispatched.

f
dispatchEvent

Dispatches an event in the global scope, synchronously invoking anyregistered event listeners for this event in the appropriate order. Returnsfalse if event is cancelable and at least one of the event handlers whichhandled this event called Event.preventDefault(). Otherwise it returns true.

f
removeEventListener

Remove a previously registered event listener from the global scope

Interfaces

I
AddEventListenerOptions
No documentation available
I
v
CustomEvent
No documentation available
I
CustomEventInit
No documentation available
I
I
EventInit
No documentation available
I
EventListener
No documentation available
I
EventListenerObject
No documentation available
I
EventListenerOptions
No documentation available
I
v
EventTarget

EventTarget is a DOM interface implemented by objects that can receive eventsand may have listeners for them.

I
v
ProgressEvent

Events measuring progress of an underlying process, like an HTTP request(for an XMLHttpRequest, or the loading of the underlying resource of an, ,

I
I
v
I
PromiseRejectionEventInit
No documentation available

Type Aliases

T
EventListenerOrEventListenerObject
No documentation available
T
MessageEventSource
No documentation available
T
Transferable
No documentation available
T
PostMessageOptions
No documentation available

Variables

v
onbeforeunload
No documentation available
v
onerror
No documentation available
v
onload
No documentation available
v
onunhandledrejection
No documentation available
v
onunload
No documentation available