V
V
Vladimir2016-05-05 14:14:26
Angular
Vladimir, 2016-05-05 14:14:26

How to track the construction of a component tree in Angular?

Angular 1.5.x I am making a component, several div blocks are built inside through ng-repeat, I want to track the transitionend event on these blocks, the problem is that, as far as I understand, the event does not pop up and it will not work to put it on the parent element (at least for me )

$element[0].addEventListener("transitionend", (e) -> console.log "e":e)

doesn't work (coffeescript above)
And at the moment the controller is running, the house tree inside the component has not been built yet
1) Maybe it's possible to track when the house tree inside the component will be built, or force the transitionend event to pop up?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question