UNPKG

@tsparticles/engine

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.

31 lines (30 loc) 1.45 kB
import type { Container } from "../../../Core/Container.js"; import { Effect } from "./Effect/Effect.js"; import type { IOptionLoader } from "../../Interfaces/IOptionLoader.js"; import type { IParticlesOptions } from "../../Interfaces/Particles/IParticlesOptions.js"; import { Move } from "./Move/Move.js"; import { Paint } from "./Paint.js"; import { ParticlesBounce } from "./Bounce/ParticlesBounce.js"; import type { ParticlesGroups } from "../../../Types/ParticlesGroups.js"; import { ParticlesNumber } from "./Number/ParticlesNumber.js"; import type { PluginManager } from "../../../Core/Utils/PluginManager.js"; import type { RecursivePartial } from "../../../Types/RecursivePartial.js"; import { Shape } from "./Shape/Shape.js"; import type { SingleOrMultiple } from "../../../Types/SingleOrMultiple.js"; import { ZIndex } from "./ZIndex/ZIndex.js"; export declare class ParticlesOptions implements IParticlesOptions, IOptionLoader<IParticlesOptions> { #private; [name: string]: unknown; readonly bounce: ParticlesBounce; readonly effect: Effect; readonly groups: ParticlesGroups; readonly move: Move; readonly number: ParticlesNumber; paint: SingleOrMultiple<Paint>; palette?: string; reduceDuplicates: boolean; readonly shape: Shape; readonly zIndex: ZIndex; constructor(pluginManager: PluginManager, container?: Container); load(data?: RecursivePartial<IParticlesOptions>): void; }