java velocity js_velocity: VelocityJS 简化和加速了 JavaScript 动画实现

Velocity beta

velocity-animate.svgbeta.svgvelocity.svgvelocity-animate.svgbadge

NPM: npm install velocity-animate@beta

Docs

IMPORTANT: The velocityjs.org documentation refers to V1, not V2 beta - use the wiki for latest documentation!

News

WhatsApp, Tumblr, Windows, Samsung, Uber, and thousands of other companies rely on Velocity. Visit Libscore.com to see which sites use Velocity on their homepage.

React Plugin

Quickstart

Velocity (CDN, choose one of them):

Velocity UI pack (CDN, choose one of them):

Please note that JSDelivr can automatically supply the latest release, while CloudFlare needs to ask for a specific version.

Package managers:

npm: npm install velocity-animate@beta

Automagic chaining:

If using the .velocity(...) chained function in libraries such as jQuery or Zepto you need to ensure that Velocity is loaded after them. If you wish to add it to anything loaded afterwards then look at the Velocity.patch() method.

Questions or Problems?

Ask on StackOverflow (make sure you add the [velocity.js] and the [javascript] or [typescript] tags).

Updates

background:["rgba(red,0.1)", "blue"]).

High resolution timers (animations should be slightly smoother).

Various fixes including ticker (loading Velocity in a background window) and color handling.

velocity.js. Read VelocityJS.org/#dependencies.

0.1: stop now stops animations immediately (instead of only clearing the remainder of the animation queue). No other backwards-incompatible changes were made.

Learn

Comparisons

CSS transitions are meant for simple interface flourishes.

jQuery's $.animate() is slow and poorly-equipped for motion design.

Velocity is a fast, feature-rich standalone alternative to jQuery's $.animate().

License

Sponsors

6b9300d1e1bfd10bbad6620a46687396.png sponsors Velocity's development.

a9a87a1246143434183e58f8c8cf526e.png provides browser testing services for Velocity.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值