web-animations-js
Advanced tools
Changelog
2.3.1 - July 20 2017
Changelog
2.2.5 - April 17 2017
Changelog
2.2.3 - April 13 2017
Added support for animating SVG related properties:
Changelog
2.2.2 - August 3 2016
Fixed handling of keyframes with overlapping offsets.
Fixed display and other animation properties being animated.
Throw InvalidStateError when calling play() on reversed infinite animation.
Extended cubic-bezier timing function domain from [0, 1] to (-Infinity, Infinity).
Fixed timing model to handle corner cases involving Infinity and 0 correctly.
Improved performance of starting and updating individual animations.
Changelog
2.2.1 - April 28 2016
Deprecated invalid timing inputs as they will soon throw TypeErrors in native browsers.
For example, this is deprecated and will eventually throw a TypeError:
element.animate([], {
duration: -1,
iterationStart: -1,
iterations: -1,
easing: 'garbage string',
});
Changelog
2.2.0 - April 6 2016
Deprecated the use of hyphens in property names.
For example, this is deprecated:
element.animate([{'font-size': '0px'}, {'font-size': '10px'}]);
and this should be used instead:
element.animate([{fontSize: '0px'}, {fontSize: '10px'}]);
Added arbitrary easing capitalisation.
Added "id" effect option. (https://drafts.csswg.org/web-animations/#dom-keyframeanimationoptions-id)
Added "oncancel" event handler.
Added value list keyframe syntax.
As as alternative to:
element.animate([{color: 'red'}, {color: 'green'}, {color: 'blue'}]);
you can now use:
element.animate({color: ['red', 'green', 'blue']});
Fixed easing TypeError in FireFox Nightly when using groups.
Fixed delayed animation updates on Safari and Firefox
Fixed infinite recursion when setting onfinish to null.