Table of Contents
getEventListeners Method 

Returns all event listeners for a given element.

Syntax
JavaScript
 eoapi.getEventListeners(element)

Parameters

element
The element for which event listeners are returned.
Remarks

The return value is a map, with event name as key and an array of objects. Each objects in the array contains information about a single event listener and contain the following two properties:

Property Name Description
type The name of the event. For example, "click" for mouse click event.
listener The event handler function.
See Also