Keyframe
[ Interface ]
export interface Keyframe {
styles: Dictionary<string[]>;
progressPoint: number;
}
Defines the state of an animation at a certain point in time.
Properties
Name | Type | Description |
---|---|---|
styles | Dictionary<string[]> | Collection of CSS properties and their desired values at this point in time of the animation. |
progressPoint | A value between 0 and 1 inclusive, which determines the point in time of the animation. 0 is the start and 1 the end of the animation. |
Available from 1.8 |