Events - Web documentation

Functions

f
addEventListener

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

f
dispatchEvent

Dispatches an event in the global scope, synchronously invoking any registered event listeners for this event in the appropriate order. Returns false if event is cancelable and at least one of the event handlers which handled 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
v
ErrorEvent
No documentation available
I
ErrorEventInit
No documentation available
I
v
Event

An event which takes place in the DOM.

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 events and may have listeners for them.

I
v
MessageEvent
No documentation available
I
MessageEventInit
No documentation available
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
ProgressEventInit
No documentation available
I
v
PromiseRejectionEvent
No documentation available
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