New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eventListener cant detect 'animationEnd' event #1975

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

Comments

Projects
None yet
1 participant
@linxixuan

linxixuan commented Oct 21, 2014

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