This section describes methods used to animate elements.
Animates an element.
The element's animation options.
Promise<void> (jQuery or native)
A Promise that is resolved after animation is completed. It is a native Promise or a jQuery.Promise when you use jQuery.
If you execute element animation before the previous one is completed, the animation is passed to a queue and is executed after the current one finishes.
Checks whether an element is being animated.
true if the element is being animated; otherwise false.
Stops an element's animation.
Specifies whether to apply the target animation state or leave the current state.