Tagged: event

How to get the list of event listeners for a dom element in javascript 0

How to get the list of event listeners for a dom element in javascript

Sometimes when debugging its useful to be able to query the list of event listeners on the DOM element. You can easily do that by typing the following command in the console getEventListeners(domElement); NOTE:...