Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

velocity-ui-pack

julianshapiro1.1kMIT1.2.2

Accelerated JavaScript animation.

velocity, animation, jquery, animate, ui, velocity.js, velocityjs, javascript

readme

Velocity 1.2.1

News
Pre-order the fantastic Velocity.js book (in stores nationwide soon).

Docs
VelocityJS.org

Quickstart

Velocity (CDN):
<script src="//cdn.jsdelivr.net/velocity/1.2.1/velocity.min.js"></script>

Velocity UI pack (CDN):
<script src="//cdn.jsdelivr.net/velocity/1.2.1/velocity.ui.min.js"></script>

Package managers:
bower install velocity
npm install velocity-animate

Updates

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().

Users

whatsapp.com tumblr.com scribd.com gap.com complex.com orbitz.com htc.com eater.com seatgeek.com warbyparker.com oldnavy.com trove.com saucelabs.com diy.org siftscience.com dropcam.com clinkle.com weezer.com welt.de dyson360eye.com

====

MIT License. © Julian Shapiro (http://twitter.com/shapiro).
Stripe sponsors Velocity's development. BrowserStack provides testing services.

changelog

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

v2.0.5

10 June 2018

  • Grab Promise in a try/catch #875
  • Get default duration if none set in arguments #874
  • Caching is disabled for scrollTop/Left so don't loop #866
  • Expose Velocity().promise for use in Promise.all() etc #868
  • Consistent getPropertyValue for width / height #860 #861
  • Lock down some publicly accessible structures acb2bd5
  • Add Stagger and Drag options back - available for all animations 6b961de
  • Ensure default delay, fix "pattern" error, create callback for options to use 2bdd7c1

v2.0.3

27 May 2018

  • Refactor as ES6 to build on RollupJS #873
  • Polyfill for Object.assign #855
  • Fix package-lock.json 9092f18
  • Version 2.0.3 a263bb8
  • Update CDN links in readme c17a6a3

v2.0.2

4 March 2018

  • The correct name for the requireJS package is "velocity-animate" #768
  • Fixes and updates in preparation for new sequence code #849 #845 #839
  • Make note of load order and extending other libraries #828
  • Shortcut for Object.create(null), Fix unit adding for some css styles and move into normalization code. 794d15c
  • Version 2.0.2-beta 30ee65e
  • Highlighted the documentation for V2 007e977

v2.0.1

11 February 2018

  • Version 2.0.1 24bf716
  • Optimise "reverse" command, make use of built-in reverse flag 4d39bfa
  • Update package dependencies 58f640c

v2.0.0

1 February 2018

  • Add a legacy readme, make sure we're using the latest Typescript, make sure npm's package-lock.json is included 5182912
  • Comment updates and and changes doc e26106a
  • While documenting realised that the timeStart argument to a progress callback is now too different, and that the activeCall argument was not listed in the typedef file. 69c7e44

v1.5.1

6 January 2018

  • Fix crash on queue stop #830
  • Update jsDelivr links #799
  • Add "window" to access to the 'navigator' property #803
  • Correct the initialization of the variable "firstTick" in the tick handler #827
  • Add support for global fps limiting #818
  • Release 1.5.1 6dd28a2
  • Update tick.ts ed4634b
  • Update tick.ts ff6a8c5

v1.5.0

18 March 2017

  • Fix 2 issues breaking IE8 compatibility #764
  • Prevent console.log error in IE9 or less #756
  • IE9 sometimes checks again window which can have length 0 #757
  • Fix performance.now() polyfill #763
  • Code cleanup, add [].includes() shim, fix JSHint warnings 4184d8e
  • Release 1.5.0 9f4aacd
  • Update CDN links c8eb3e6

v1.4.3

16 February 2017

  • Typo cloned->clone, Fixes #749 #749
  • Release 1.4.3 8c3d003
  • Allow auto-parameters to support negative numbers (literally just missing a "-" in the RegExp) 465e84c

v1.4.2

30 January 2017

  • Fix IE8 lacking hasOwnProperty on window.performance. Fixes #738 #739
  • IE8 can't [].slice.call(NodeList) etc, Fixes #742 #742
  • Release 1.4.2 d2cdefd

v1.4.1

17 December 2016

  • Allow .isWrappped() to handle nodeLists and more wrapped types. FORM has a length and is not wrapped, so disallow Nodes #723
  • Share remaining duration between all remaining parts of an effect, allow 0 duration. #726
  • Fix for "0" in an auto-parameter value 0ee450d
  • Release v1.4.1 e745208
  • Make version numbers link to changelog 4b6beab

v1.4.0

4 December 2016

  • Update version numbers in README #731
  • Pause and Resume commands implemented and tested. #718
  • Select correct ticker function during initialization #725
  • Add pause/resume, disable global test as it breaks other tests. Cleanup test code slightly. #718
  • Auto parameters now accept unit changes and any colour names. d81e17a
  • Update README.md 170c4f5
  • v1.4.0 - CDN links TODO when updated 139de8b

v1.3.2

21 November 2016

  • Fixed incorrect usage of nodeType #720
  • lost var definition #713
  • Use window.document #710
  • Fix typo #712
  • Add editorconfig. See #706 for more. #707
  • Improving Readme, fix #704 #705
  • Allow Velocity(document.querySelector("div"), ...) and similar calls (not specific checking for jQuery / Zepto wrapped) #714
  • Add Auto-parameterised start and end values #697 #677 #459 #562 #388 #263
  • Allow a value function to return a forcefeeding array. #639
  • Ensure being and complete are called correctly for slide/fade effects #460
  • Don't split out *-color properties when the start and end are functions #660
  • Add inner / outer + Width / Height to get and set - handles box-sizing correctly #485
  • Whitelist "loop" for RegisterEffect #654 #655
  • Release v1.3.2 fbb5540
  • Fixes after #720 - more bad code that didn't work, plus optimisations and minification b0c6c3c
  • Update CONTRIBUTING.md f22ec01

v1.3.1

21 September 2016

  • Add hasOwnProperty() checks for badly extended Object prototype #541
  • Update README.md 631232f
  • Release v1.3.1 e4bc3f1
  • Somehow missed updating the version numbers 9731478

v1.3.0

13 August 2016

  • Fix durations set to 0 being ignored with Velocity UI #483
  • Fix animateParentHeight height calc when border-box #504
  • Update README.md #615
  • Fix severe hangs in tick() when overflowing 10,000 call compaction limit #523
  • forgot to bump actual version to 1.2.3 #600
  • Remove jQuery dependency from package.json and bower.json #618
  • Cleanup cache properly #646
  • Correctly handle "html style" property names #666
  • Fix to Issue #675 #676
  • Potential fix for: Uncaught TypeError: Cannot read property 'tweensCo… #690
  • Code cleanup (formatting and semi-colon use) efe5795
  • Add Gruntfile, strict mode, fixes for jshint - shouldn't break anything, but test properly c3b9f01
  • Allow infinite loop on counterclockwise rotateZ and any 360 degree loop 64c8f1e

v1.2.3

26 September 2015

  • Fix BrowserStack link. #472
  • "finishAll" functionality d9cd60b
  • Merging/building finishAll & versions bump f28c610
  • Update README.md 2a952e2

v1.2.2

17 February 2015

v1.2.1

5 January 2015

v1.2.0

5 January 2015

v1.1.0

18 September 2014

v1.0.0

28 August 2014

v0.11.9

24 August 2014

  • 0.11.9 #260 #265 #262
  • Add examples for requirejs/r.js projects. 49f0ae9
  • Fix AMD support. Tested with both builds, optimised and unoptimised. 3295176
  • Update README.md e7f4004

v0.11.8

23 August 2014

v0.11.7

20 August 2014

v0.11.6

18 August 2014

v0.11.5

15 August 2014

v0.11.2

12 August 2014

v0.11.1

11 August 2014

v0.11.0

10 August 2014

v0.10.1

4 August 2014

v0.10.0

30 July 2014

v0.9.0

23 July 2014

v0.8.0

16 July 2014

v0.7.0

13 July 2014

  • :animating and transform value removal #172 #155
  • Ability to transition inline elements #173
  • Update README.md e88a4eb
  • Update README.md 0e8e7b0
  • Update README.md 178de4c

v0.6.0

11 July 2014

v0.5.3

10 July 2014

v0.5.2

10 July 2014

v0.5.1

10 July 2014

v0.5.0

8 July 2014

v0.4.1

3 July 2014

v0.4.0

1 July 2014

v0.3.0

28 June 2014

v0.2.1

20 June 2014

  • Prevent errors in older jQuery versions. #118
  • Update README.md cd1da99

v0.2.0

19 June 2014

v0.1.0

15 June 2014

v0.0.23

13 June 2014

    • SO link for help #107
  • Add option to set a custom display value on complete. #103
  • Closes #109. #109
  • Update README.md af5714d
  • Update README.md 956d75f
  • Update README.md 420940e

v0.0.22

5 June 2014

  • Closes #76. #76

v0.0.21

5 June 2014

  • Closes #97. #97
  • Fixed an issue with the AMD/CommonJS definition not working when jQuery/Zepto is also used. 73ea312
  • RequireJS Optimizer Fix 1c9826d
  • Update README.md 7e5624b

v0.0.20

3 June 2014

v0.0.19

3 June 2014

v0.0.18

1 June 2014

v0.0.16

30 May 2014

v0.0.15

27 May 2014

v0.0.14

23 May 2014

v0.0.13

21 May 2014

v0.0.12

19 May 2014

  • Closes #72. #72
  • Closes #65 and #73. #65
  • Update README.md f445d1b

v0.0.10

14 May 2014

v0.0.9

12 May 2014

  • Back to the latest version #4
  • Remove dependency on jQuery $.easing object #48
  • Temporary jQuery-Less File Removal b33a9c5
  • Performance Boost + Framework Prep 4ee968b
  • Performance Boost + Framework Prep be98b76

v0.0.1

6 May 2014

  • Updated bower.json, addition of component.json #33
  • Getting back in sync #3
  • Contained Element Scrolling Support #2
  • Back to the latest version #1
  • Support for custom user sequences. Thanks to @jeffmicklos and @nmussy. #22
  • Added optional CDN support #19
  • Contained Element Scrolling Support #26
  • non-camelCased Property Support, bower.json #27
  • Remove Forced Class Extraction #17
  • Fixes #11 #11
  • Fixes #1 #1
  • Update README.md 0e226cb
  • Update README.md 4c9bd3e
  • Sequence Fixes and Packaged Sequences e8ad8e4