-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Basic Chaining
Ryc O'Chet edited this page Feb 1, 2018
·
1 revision
- NOTE: This documentation is for Velocity v2.
When multiple Velocity calls are stacked onto an element (or a series of elements), they automatically queue onto one another - with each one firing once its prior animation has completed:
element
/* Animate the width property. */
.velocity({ width: 75 })
/* Then, when finished, animate the height property. */
.velocity({ height: 0 });