8.6 Released with 🥽 visionOS support and more!
Check it out
KeyframeAnimation

Summary ​

Constructors ​

constructor ​

new KeyframeAnimation(): KeyframeAnimation

Properties ​

animations ​

delay ​

delay: number
The amount of time, in milliseconds, to delay starting the animation.

isPlaying ​

isPlaying: boolean
Returns true if the application is currently running.

iterations ​

iterations: number
Specifies how many times the animation should be played. Default is 1. iOS animations support fractional iterations, i.e. 1.5. To repeat an animation infinitely, use Number.POSITIVE_INFINITY

play ​

Methods ​

keyframeAnimationFromInfo ​

Static
keyframeAnimationFromInfo(info: KeyframeAnimationInfo): KeyframeAnimation
Creates a keyframe animation from animation definition.
Parameter Default Description
info

Previous
ItemSpec