UNPKG

@furystack/shades-common-components

Version:

8 lines 483 B
/** * @param el The element to animate * @param keyframes A list of keyframe definitions * @param options Animation options * @returns A promise that resolves when the animation is complete or rejects if cancelled */ export declare const promisifyAnimation: (el: Element | null | undefined, keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions) => Promise<AnimationPlaybackEvent>; //# sourceMappingURL=promisify-animation.d.ts.map