This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
iterationStart property of
AnimationEffectTimingReadOnly represents which repetition the animation begins at and its progress through it.
AnimationEffectTiming, a mutable subclass of
AnimationEffectTimingReadOnly used with
KeyframeEffects, the property acts as both a getter and a setter.
// Getting the iterationStart var animationStartingPoint = animation.effect.timing.iterationStart; // Setting the iterationStart animation.effect.timing.iterationStart = 5.9;
A whole number or decimal greater than or equal to
Note: This number represents the iteration index at which the animation effect begins and its progress through that iteration. All animations' iteration indexes start at
0. Therefor a value of
0.5 would start the animation half way through its first iteration or loop. Meanwhile, a value of
1.2 indicates the animation begins 20% of the way through its second iteration.
The definition of 'AnimationEffectTimingReadOnly.iterationStart' in that specification.
|Working Draft||Editor's draft.|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||(Yes)||(Yes)||No support||(Yes)||No support|
|Feature||Android||Android Webview||Chrome for Android||Firefox Mobile (Gecko)||Firefox OS||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||?||?||?||?||?||No support||No support||No support|
- Web Animations API
AnimationEffectTimingReadOnlyand its mutable subclass
AnimationEffectReadOnly.timing— this returns one of the above, depending on the mutability of its parent.
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.