UNPKG

@atlaskit/motion

Version:

A set of utilities to apply motion in your application.

7 lines (6 loc) 421 B
/** * Returns the longest total runtime from computed CSS animation name, duration, and delay lists. * `animation-name` determines the number of animations. CSS repeats shorter duration and delay * lists and ignores timing values that do not correspond to an animation name. */ export declare const getComputedAnimationDurationMs: (animationName: string, animationDuration: string, animationDelay: string) => number;