eventListener cant detect 'animationEnd' event #1975

Open
linxixuan opened this Issue Oct 21, 2014 · 0 comments

Projects

None yet

1 participant

@linxixuan

I use two way to detect the animationend event:

1.Y.one('.anim-node').on('webkitAnimationEnd', function (e) {console.log(123);});
2.Y.one('.anim-node').getDOMNode().addEventLinstener('webkitAnimationEnd', function (e) {console.log(321);});

Then, add a class which can make the node run a CSS3 animation。When that animation ends, console only log 321.So, maybe YUI's eventListener can't detect this type of event.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment