Interface Animatable
interface Animatable {
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
getAnimations(options?: GetAnimationsOptions): Animation[];
}
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
getAnimations(options?: GetAnimationsOptions): Animation[];
}
Index
Methods
Methods
animate
- animate(keyframes, options?): Animation
Parameters
- keyframes: PropertyIndexedKeyframes | Keyframe[]
Optional
options: number | KeyframeAnimationOptions
Returns Animation
getAnimations
- get
Animations (options?): Animation[] Parameters
Optional
options: GetAnimationsOptions
Returns Animation[]
MDN Reference