I'm working on an angular (7.x) app running in dev mode.

Starting from browser (chrome in my case) devTools > Elements > Event listeners, is there a way to "easily" retrieve which angular component set the listener (inside template (click)=call() or using renderer.listen()) ?

enter image description here

We can see the handler is inside zone.js line 1551, function globalZoneAwareCallback but no trace about a component ref or name..

1

There are 1 best solutions below

1
On

Do you tried with https://augury.rangle.io/ ? I found it very useful