@furystack/shades-common-components
Version:
Common UI components for FuryStack Shades
8 lines • 483 B
TypeScript
/**
* @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