animate.d.ts 500 B

1234567
  1. export declare function animateTo(el: HTMLElement, keyframes: Keyframe[], options?: KeyframeAnimationOptions): Promise<unknown>;
  2. export declare function parseDuration(delay: number | string): number;
  3. export declare function prefersReducedMotion(): boolean;
  4. export declare function stopAnimations(el: HTMLElement): Promise<unknown[]>;
  5. export declare function shimKeyframesHeightAuto(keyframes: Keyframe[], calculatedHeight: number): (Keyframe & {
  6. height: string | number | null | undefined;
  7. })[];