OLD | NEW |
| 1 ### 2.1.2 - *July 8 2015* |
| 2 * Fix a bug where onfinish was being called for GroupEffects before they were
finished. |
| 3 |
| 4 ### 2.1.1 - *July 1 2015* |
| 5 * Add Animation.timeline getter |
| 6 * Add AnimationEffect.parent getter |
| 7 * Make AnimationEffectTiming (returned by AnimationEffect.timing) attributes m
utable |
| 8 * Expose the Animation constructor |
| 9 * Change custom effects from AnimationEffects to onsample functions. Custom ef
fects should now be created by setting the onsample attribute of a KeyframeEffec
t. |
| 10 |
| 11 For example, this is deprecated: |
| 12 |
| 13 var myEffect = new KeyframeEffect( |
| 14 element, |
| 15 function(timeFraction, target, effect) { |
| 16 target.style.opacity = timeFraction; |
| 17 }, |
| 18 1000); |
| 19 var myAnimation = document.timeline.play(myEffect); |
| 20 |
| 21 and this should be used insead: |
| 22 |
| 23 var myEffect = new KeyframeEffect(element, [], 1000); |
| 24 effect.onsample = function(timeFraction, effect, animation) { |
| 25 effect.target.style.opacity = timeFraction; |
| 26 }; |
| 27 var myAnimation = document.timeline.play(myEffect); |
| 28 |
1 ### 2.1.0 - *June 15 2015* | 29 ### 2.1.0 - *June 15 2015* |
2 * Fix bug affecting GroupEffects with infinite iteration children | 30 * Fix bug affecting GroupEffects with infinite iteration children |
3 * Add GroupEffect.firstChild and GroupEffect.lastChild | 31 * Add GroupEffect.firstChild and GroupEffect.lastChild |
4 * Add initial values for most CSS properties | 32 * Add initial values for most CSS properties |
5 * Allow `timeline.play()` to be called with no arguments | 33 * Allow `timeline.play()` to be called with no arguments |
6 * Add AnimationEffect.clone | 34 * Add AnimationEffect.clone |
7 * Add GroupEffect.append and GroupEffect.prepend | 35 * Add GroupEffect.append and GroupEffect.prepend |
8 * Add AnimationEffect.remove | 36 * Add AnimationEffect.remove |
9 * Add Animation.ready and Animation.finished promises | 37 * Add Animation.ready and Animation.finished promises |
10 | 38 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 137 |
110 `web-animations-next-lite.min.js` - A cut down version of | 138 `web-animations-next-lite.min.js` - A cut down version of |
111 web-animations-next, removes several lesser used property handlers | 139 web-animations-next, removes several lesser used property handlers |
112 and some of the larger and less used features such as matrix | 140 and some of the larger and less used features such as matrix |
113 interpolation/decomposition. | 141 interpolation/decomposition. |
114 | 142 |
115 Not all features of the previous polyfill have been ported to the | 143 Not all features of the previous polyfill have been ported to the |
116 new codebase; most notably mutation of Animations and Groups and | 144 new codebase; most notably mutation of Animations and Groups and |
117 Additive Animations are not yet supported. These features are still | 145 Additive Animations are not yet supported. These features are still |
118 important and will be implemented in the coming weeks. | 146 important and will be implemented in the coming weeks. |
OLD | NEW |