React Common - Utils - fx
An object that serves as a namespace for the methods that are used to animate UI elements.
import { fx } from "devextreme/common/core/animation"
Type:
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.
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.