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

Type Aliases

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