UNPKG

tsparticles

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

15 lines (14 loc) 424 B
import type { Container } from "../Container"; /** * @category Core */ export declare class FrameManager { private readonly container; constructor(container: Container); /** * Handles the rAF method preparing the next animation frame to be drawn * limiting it if it's needed by the current configuration * @param timestamp */ nextFrame(timestamp: DOMHighResTimeStamp): Promise<void>; }