[css-houdini-drafts] Pull Request: [css-animationworklet] Separate Stateful and Stateless animator interfaces #812

majido has just submitted a new pull request for https://github.com/w3c/css-houdini-drafts:

== [css-animationworklet] Separate Stateful and Stateless animator interfaces  #812 ==
Fixes issue #812 .


- Introduce two new interfaces `StatefulAnimator` and `StatelessAnimator`. Add sections to describe the difference.
- Update Animator Definition to has stateful flag and initialize the flag based on the animator prototype object.
- Update the algorithm for migration process to not use onDestroy callback but use state getter.
- Update the examples to use these new interfaces and show how getter should be used.
 


See https://github.com/w3c/css-houdini-drafts/pull/827

Received on Friday, 19 October 2018 21:15:40 UTC