EventListener.handleEvent()

The EventListener method handleEvent() method is called by the user agent when an event is sent to the EventListener, in order to handle events that occur on an observed EventTarget.

Syntax

eventListener.handleEvent(event);

Parameters

event
An Event object describing the event that has been fired and needs to be processed.

Return value

undefined. If you return a value, the browser will ignore it.

Specifications

Specification Status Comment
DOM
The definition of 'EventListener.handleEvent()' in that specification.
Living Standard No change.
Document Object Model (DOM) Level 2 Events Specification
The definition of 'EventListener.handleEvent()' in that specification.
Obsolete Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support1121971
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support1112461 ?

Document Tags and Contributors

Contributors to this page: connorshea, Sheppy, TimothyGu
Last updated by: connorshea,