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 full)
Index
Methods
getComputedTiming
- get
Computed (): ComputedEffectTimingTiming Returns ComputedEffectTiming
getKeyframes
- get
Keyframes (): ComputedKeyframe[] Returns ComputedKeyframe[]
getTiming
- get
Timing (): EffectTiming Returns EffectTiming
setKeyframes
- set
Keyframes (keyframes): void Parameters
- keyframes: PropertyIndexedKeyframes | Keyframe[]
Returns void
updateTiming
- update
Timing (timing?): void Parameters
Optional
timing: OptionalEffectTiming
Returns void
MDN Reference