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.

raja
Published on 23-Apr-2018 12:29:18
Advertisements