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.

14 lines (13 loc) 442 B
import type { Container, IDelta, IParticleUpdater, Particle } from "../../Core"; export declare class OutOfCanvasUpdater implements IParticleUpdater { private readonly container; constructor(container: Container); init(): void; isEnabled(particle: Particle): boolean; update(particle: Particle, delta: IDelta): void; private updateOutMode; private destroy; private out; private bounce; private none; }