Answer the question
In order to leave comments, you need to log in
What does the eventListeners property add to all angular 2+ nodes?
I recently learned that all nodes in an agular have an eventListeners property. This is a function that returns an array of all handlers that are attached to the element. A quick google did not help to understand what this property hangs on the node node.
Answer the question
In order to leave comments, you need to log in
Zone.js
here https://github.com/angular/angular/blob/aaa20093b2...
DebugElement can also access this list of listeners, you can use it in tests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question