W3cubDocs

/DOM

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

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

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/EventListener/handleEvent