@tsparticles/fireworks
Version:
tsParticles fireworks bundle — easily create spectacular fireworks and fountain particle effects with built-in presets. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
17 lines (16 loc) • 628 B
TypeScript
import { type IOptionLoader, type RangeValue, type RecursivePartial, type SingleOrMultiple } from "@tsparticles/engine";
import type { IFireworkOptions } from "./IFireworkOptions.js";
export declare class FireworkOptions implements IFireworkOptions, IOptionLoader<IFireworkOptions> {
background: string;
brightness: RangeValue;
colors: SingleOrMultiple<string>;
gravity: RangeValue;
minHeight: RangeValue;
rate: RangeValue;
saturation: RangeValue;
sounds: boolean;
speed: RangeValue;
splitCount: RangeValue;
constructor();
load(data?: RecursivePartial<IFireworkOptions>): void;
}