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