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[];
}
Hierarchy
- Animatable (View Summary)
Index
Methods
Methods
animate
- animate(
keyframes: PropertyIndexedKeyframes | Keyframe[],
options?: number | KeyframeAnimationOptions,
): Animation Parameters
- keyframes: PropertyIndexedKeyframes | Keyframe[]
Optional
options: number | KeyframeAnimationOptions
Returns Animation
getAnimations
- getAnimations(options?: GetAnimationsOptions): Animation[]
Parameters
Optional
options: GetAnimationsOptions
Returns Animation[]
MDN Reference