红联Linux门户
Linux帮助

Anime.js 2.1.0发布,轻量级JavaScript动画库

发布时间:2017-09-18 09:32:22来源:红联作者:baihuo
Anime.js 2.1.0 已发布,Anime 是一个灵活且轻量级的 JavaScript 动画库。和 CSS,独立变换,SVG,DOM 属性和 JS 对象配合使用。

改进

Children animations can now inherit properties from their parent timeline (targets, duration, delay, easing, round)

Add support for vmin/vmax/ch units

Add support for the transform perspective property

Add support for circle, rect, polyline, polygon and line shapes for anime.setDashOffset()

duration: 0 now instantly finish the animation

Animation initial values are now automatically set even if autoplay is false

Bug 修复

Fix timeline Callbacks at initialisation

Fix timeline Promise being called instantly

Fix wrong values re-composition for complex CSS properties (like filter, box-shadow, calc()…)

Numerical values are not converted to strings anymore

Relatives values now keep their unit

Seeking an animation to 0 now correctly set the initial properties values

run callback is now properly called after animation delay

软件详情:http://git.oschina.net/mirrors/anime

来自:开源中国社区
文章评论

共有 0 条评论