You’re reading the English version of this content since no translation exists yet for this locale. Help us translate this article!

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.




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.


Specification Status Comment
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

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
handleEventChrome Full support 1Edge Full support 12Firefox Full support 1IE Full support 9Opera Full support 7Safari Full support 1WebView Android Full support 1Chrome Android Full support 18Firefox Android Full support 4Opera Android Full support 10.1Safari iOS Full support 1Samsung Internet Android ?


Full support  
Full support
Compatibility unknown  
Compatibility unknown