UNPKG

2.87 kBMarkdownView Raw
1##Velocity 1.2.1
2
3**News**
4Pre-order the fantastic [Velocity.js book](https://twitter.com/Shapiro/status/559572916560343041) (in stores nationwide soon).
5
6**Docs**
7[VelocityJS.org](http://VelocityJS.org)
8
9**Quickstart**
10
11Velocity (CDN):
12`<script src="//cdn.jsdelivr.net/velocity/1.2.1/velocity.min.js"></script>`
13
14Velocity UI pack (CDN):
15`<script src="//cdn.jsdelivr.net/velocity/1.2.1/velocity.ui.min.js"></script>`
16
17Package managers:
18`bower install velocity`
19`npm install velocity-animate`
20
21###**Updates**
22
23- **1.2.0**: [Custom tweens](http://VelocityJS.org/#progress). [Custom easings](http://VelocityJS.org/#easing). ["Finish" command](http://VelocityJS.org/#finish). See [commit log](https://github.com/julianshapiro/velocity/commit/2a28e3812c6fe9262244ed3b6d41d12ae9a107c6) for more.
24- **1.0.0**: File name changed to `velocity.js`. Read [VelocityJS.org/#dependencies](http://VelocityJS.org/#dependencies).
25- **0.1.0**: `stop` now stops animations *immediately* (instead of only clearing the remainder of the animation queue). No other backwards-incompatible changes were made.
26
27###**Learn**
28
29- **Motion design**: [smashingmagazine.com/2014/06/18/faster-ui-animations-with-velocity-js](http://smashingmagazine.com/2014/06/18/faster-ui-animations-with-velocity-js)
30- **Animating without jQuery**: [smashingmagazine.com/2014/09/04/animating-without-jquery](http://www.smashingmagazine.com/2014/09/04/animating-without-jquery/)
31- **Performance comparisons**: [davidwalsh.name/css-js-animation](http://davidwalsh.name/css-js-animation)
32- **Workflow**: [css-tricks.com/improving-ui-animation-workflow-velocity-js](http://css-tricks.com/improving-ui-animation-workflow-velocity-js)
33
34###**Comparisons**
35
36- **CSS transitions** are meant for simple interface flourishes.
37- **jQuery's $.animate()** is slow and poorly-equipped for motion design.
38- **Velocity** is a fast, feature-rich standalone alternative to jQuery's $.animate().
39
40###**Users**
41[whatsapp.com](http://web.whatsapp.com) [tumblr.com](http://tumblr.com) [scribd.com](http://scribd.com) [gap.com](http://gap.com) [complex.com](http://complex.com) [orbitz.com](http://orbitz.com) [htc.com](http://htc.com) [eater.com](http://eater.com) [seatgeek.com](http://seatgeek.com) [warbyparker.com](http://warbyparker.com) [oldnavy.com](http://oldnavy.com) [trove.com](http://trove.com) [saucelabs.com](http://saucelabs.com) [diy.org](http://diy.org) [siftscience.com](http://siftscience.com) [dropcam.com](http://dropcam.com) [clinkle.com](http://clinkle.com) [weezer.com](http://weezer.com) [welt.de](http://welt.de) [dyson360eye.com](http://dyson360eye.com)
42
43====
44
45[MIT License](LICENSE.md). © Julian Shapiro (http://twitter.com/shapiro).
46[Stripe](https://stripe.com/blog/stripe-open-source-retreat) sponsors Velocity's development. [BrowserStack](browserstack.com) provides testing services.