@augment-vir/web
Version:
A collection of augments, helpers types, functions, and classes only for web (frontend) JavaScript environments.
10 lines (9 loc) • 350 B
TypeScript
/**
* Wait for an animation frame's duration. Optionally, wait for multiple frames by providing a
* `frameCount` input.
*
* @category Web
* @category Package : @augment-vir/web
* @package [`@augment-vir/web`](https://www.npmjs.com/package/@augment-vir/web)
*/
export declare function waitForAnimationFrame(frameCount?: number): Promise<void>;