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

AnimationPlayer is no longer a EventTarget #17

Closed
hgl opened this Issue Feb 3, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@hgl
Copy link
Contributor

hgl commented Feb 3, 2015

Currently, web-animations-js implements AnimationPlayer as EventTarget, but the spec says it should expose ready and finished promises instead. I wonder if there is any plan to implement these?

I guess the current implementation is of an older spec? Chrome also doesn't expose these two properties, so maybe it should be polyfilled as well.

@rjwright

This comment has been minimized.

Copy link
Contributor

rjwright commented Mar 17, 2015

We plan implement the promises in the polyfill at some point. They will also be implemented natively in Chrome.

@rjwright rjwright self-assigned this Mar 17, 2015

@dstockwell

This comment has been minimized.

Copy link
Contributor

dstockwell commented Mar 17, 2015

It will be an EventTarget once again, in addition to ready and finished.

See: w3c/web-animations#71

@rjwright

This comment has been minimized.

Copy link
Contributor

rjwright commented Apr 30, 2015

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