animation-registry.d.ts 413 B

12345678
  1. interface ElementAnimation {
  2. keyframes: Keyframe[];
  3. options?: KeyframeAnimationOptions;
  4. }
  5. export declare function setDefaultAnimation(animationName: string, animation: ElementAnimation): void;
  6. export declare function setAnimation(el: Element, animationName: string, animation: ElementAnimation): void;
  7. export declare function getAnimation(el: Element, animationName: string): ElementAnimation;
  8. export {};