Answer the question
In order to leave comments, you need to log in
Why doesn't the animationend event bubble up in the component's controller?
Here is an example in pure JavaScript, here you can see that the animationend event pops up.
https://jsfiddle.net/Casufi/7Lut4vdf/
I'm trying to catch an event inside the component controller on one of the child elements built via ng-repeat.
getTransition = function(tran){
console.log "tran": tran
}
$element[0].addEventListener("animationend", function(e){getTransition(e)})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question