Skip to content
Ryc O'Chet edited this page Feb 1, 2018 · 1 revision
- NOTE: This documentation is for Velocity v2.

Option: Duration

Velocity supports durations specified in milliseconds as well as named durations: "slow", "normal", and "fast".

element.velocity({ opacity: 1 }, { duration: 1000 });

or

element.velocity({ opacity: 1 }, { duration: "slow" });