Syntax error How do I view events fired on an element in Chrome?

How do I view events fired on an element in Chrome?



To view events fired on an element, follow the below steps in Google Chrome:

Open Google Chrome and press F12 to open Dev Tools.

Now go to Sources Tab

Go to Event Listener Breakpoints, on the right:

Click on the events and interact with the target element.
If the event will fire, then you will get a breakpoint in the debugger.

Updated on: 2019-07-30T22:30:22+05:30

16K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements