UNPKG

@tsparticles/particles

Version:

Minimal tsParticles particles bundle — lightweight particle engine without confetti or fireworks extras. Perfect for pure particle backgrounds. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, In

7 lines (6 loc) 405 B
import type { IParticlesOptions } from "./IParticlesOptions.js"; import type { ParticlesInstance } from "./ParticlesInstance.js"; import type { RecursivePartial } from "@tsparticles/engine"; export type ParticlesFunc = ((idOrOptions?: string | RecursivePartial<IParticlesOptions>, sourceOptions?: RecursivePartial<IParticlesOptions>) => Promise<ParticlesInstance | undefined>) & { version: string; };