AnimationEvent
interface
An instance of this class is returned as an event parameter when an animation callback is captured for an animation either during the start or done phase.
API
Description
interface AnimationEvent {}
fromState
string
The name of the state from which the animation is triggered.
toState
string
The name of the state in which the animation completes.
totalTime
number
The time it takes the animation to complete, in milliseconds.
phaseName
string
The animation phase in which the callback was invoked, one of "start" or "done".
element
any
The element to which the animation is attached.
triggerName
string
Internal.
disabled
boolean
Internal.
Jump to details