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) 481 B
import type { Container, IDelta, IParticleUpdater, Particle } from "../../Core"; declare type WobbleParticle = Particle & { retina: { wobbleDistance?: number; }; }; export declare class WobbleUpdater implements IParticleUpdater { private readonly container; constructor(container: Container); init(particle: WobbleParticle): void; isEnabled(particle: WobbleParticle): boolean; update(particle: WobbleParticle, delta: IDelta): void; } export {};