loading...

Check events fired while interacting with a DOM element

maciekchmura profile image Maciek Chmura Originally published at maciek.cloud ・1 min read

There is an easy way of monitoring all events fired while interacting with a DOM element.

Open dev tools and select element.

Alt Text

While the element is selected, switch to console and type: monitorEvents($0)

Alt Text

Interact with the element: hover, click, etc.
The console should print all the events fired.

Alt Text

Discussion

markdown guide