EventListener.handleEvent()

The EventListener.handleEvent() method is called by the browser when an event of the specified type is dispatched by an EventTarget object.

Syntax

void eventListener.handleEvent(event);

Parameters

event
An Event object that contains details on the dispatch event.

Return value

Any return value is ignored by the browser.

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

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 1.0 12 1.0 (1.7 or earlier) 9.0 7 1.0
Feature Android Webview Chrome for Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support

(Yes)

(Yes)

12 1.0 (1.0) 9.0 6.0 1.0

Document Tags and Contributors

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