1 | import type { KeyframeEffect } from './KeyframeEffect';
|
2 | /**
|
3 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming
|
4 | */
|
5 | export declare class AnimationEffectTiming implements EffectTiming {
|
6 | /**
|
7 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/delay
|
8 | */
|
9 | delay: number;
|
10 | /**
|
11 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/direction
|
12 | */
|
13 | direction: PlaybackDirection;
|
14 | /**
|
15 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/duration
|
16 | */
|
17 | duration: number | 'auto';
|
18 | /**
|
19 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/easing
|
20 | */
|
21 | private _easing;
|
22 | easingFunction: (x: number) => number;
|
23 | get easing(): string;
|
24 | set easing(value: string);
|
25 | /**
|
26 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/endDelay
|
27 | */
|
28 | endDelay: number;
|
29 | /**
|
30 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/fill
|
31 | */
|
32 | fill: FillMode;
|
33 | /**
|
34 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/iterationStart
|
35 | */
|
36 | iterationStart: number;
|
37 | /**
|
38 | * @see https://developer.mozilla.org/en-US/docs/Web/API/EffectTiming/iterations
|
39 | */
|
40 | iterations: number;
|
41 | /**
|
42 | * @deprecated
|
43 | */
|
44 | playbackRate: number;
|
45 | /**
|
46 | * ref to effect
|
47 | */
|
48 | effect: KeyframeEffect;
|
49 | composite: string;
|
50 | /**
|
51 | * ComputedEffectTiming
|
52 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AnimationEffect/getComputedTiming
|
53 | */
|
54 | activeDuration: number;
|
55 | endTime: number;
|
56 | currentIteration: number | null;
|
57 | progress: number | null;
|
58 | }
|