PlayOptions
Attributes
commit?: boolean
Whether to apply the end state of the animation as permanent styling.
default = true
default = true
composite?: 'none' | 'override' | 'combine'
How to composite the animation over simultaneously playing animations.
• 'none', the animation will be delayed until the current one is finished.
• 'override', the animation will play simultaneously, however will possibly override properties that are already being animated.
• 'combine', the animation will play simultaneously and try to combine the values of properties already being animated.
default = 'none'
• 'none', the animation will be delayed until the current one is finished.
• 'override', the animation will play simultaneously, however will possibly override properties that are already being animated.
• 'combine', the animation will play simultaneously and try to combine the values of properties already being animated.
default = 'none'
delay?: number
The animation delay in seconds.
immediate?: boolean
When true will play the animation immediately, regardless of the composite type, stoping any animations that are currently playing.
reverse?: boolean
Whether to play the animation in reverse.