Andrew's Digital Garden

monitorEvents in Chrome developer tools

The following snippet allows you to monitor a bunch of [[js]] events for a given element.

monitorEvents(document.body, 'mouse')

You can also use 'key' or a bunch of other arguments (e.g. 'click') instead of 'mouse' as needed.

https://developer.chrome.com/blog/quickly-monitor-events-from-the-console-panel-2

[[browsers]]

monitorEvents in Chrome developer tools