DEV Community

Discussion on: Firefox-like event listener detection in Chrome Dev Tools?

Collapse
dzhavat profile image
Dzhavat Ushev

It's not exactly the same but if you select an element, you can see if there are any attached event listeners by going to the "Event Listeners" tab.

Here's a screenshot from one of my projects:

Screenshot

Collapse
fcfn profile image
Peter Timoshevsky Author • Edited on

Thanks, but this doesn't show me a listener which is set like, say, so (I didn't write it), but FF does:

.on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {...})
Collapse
dzhavat profile image
Dzhavat Ushev

Yeah, that's true. Well, FF has some really nice features in its DevTools.