Interface KeyframeEffect
interface KeyframeEffect {
composite: CompositeOperation;
iterationComposite: IterationCompositeOperation;
pseudoElement: string;
target: Element;
getComputedTiming(): ComputedEffectTiming;
getKeyframes(): ComputedKeyframe[];
getTiming(): EffectTiming;
setKeyframes(keyframes: PropertyIndexedKeyframes | Keyframe[]): void;
updateTiming(timing?: OptionalEffectTiming): void;
}
composite: CompositeOperation;
iterationComposite: IterationCompositeOperation;
pseudoElement: string;
target: Element;
getComputedTiming(): ComputedEffectTiming;
getKeyframes(): ComputedKeyframe[];
getTiming(): EffectTiming;
setKeyframes(keyframes: PropertyIndexedKeyframes | Keyframe[]): void;
updateTiming(timing?: OptionalEffectTiming): void;
}
Hierarchy
- AnimationEffect
- KeyframeEffect (View Summary)
Index
Methods
getComputedTiming
- getComputedTiming(): ComputedEffectTiming
Returns ComputedEffectTiming
getKeyframes
- getKeyframes(): ComputedKeyframe[]
Returns ComputedKeyframe[]
getTiming
- getTiming(): EffectTiming
Returns EffectTiming
setKeyframes
- setKeyframes(keyframes: PropertyIndexedKeyframes | Keyframe[]): void
Parameters
- keyframes: PropertyIndexedKeyframes | Keyframe[]
Returns void
updateTiming
- updateTiming(timing?: OptionalEffectTiming): void
Parameters
Optional
timing: OptionalEffectTiming
Returns void
MDN Reference