jQuery/JS Common - Utils - fx
An object that serves as a namespace for the methods that are used to animate UI elements.
import fx from "devextreme/animation/fx"
animate(element, config)
Animates an element.
Parameters:
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.
isAnimating(element)
Checks whether an element is being animated.
Parameters:
element:
The element.
Return Value:
true if the element is being animated; otherwise false.
Feedback