Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
KeyframeAnimationInfo
KeyframeAnimationInfo
Defines animation options for the View.animate method.
Summary
Constructors
Constructors
constructor
new KeyframeAnimationInfo(): KeyframeAnimationInfo
Returns KeyframeAnimationInfo
Properties
curve
An optional animation curve. Possible values are contained in the [AnimationCurve enumeration](../modules/_ui_enums_.animationcurve.html).
Alternatively, you can pass an instance of type UIViewAnimationCurve for iOS or android.animation.TimeInterpolator for Android.
delay
The amount of time, in milliseconds, to delay starting the animation.
duration
The length of the animation in milliseconds. The default duration is 300 milliseconds.
isForwards
Determines whether the animation values will be applied on the animated object after the animation finishes.
isReverse
If true the animation will be played backwards.
iterations
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
keyframes
keyframes: KeyframeInfo[]
Return animation keyframes.
name
The animation name.
- Previous
- KeyframeAnimation
- Next
- Label