UNPKG

872 BTypeScriptView Raw
1import type { ICoordinates, IOptionLoader, RecursivePartial, ShapeData, SingleOrMultiple } from "tsparticles-engine";
2import type { IConfettiOptions } from "./IConfettiOptions";
3export declare class ConfettiOptions implements IConfettiOptions, IOptionLoader<IConfettiOptions> {
4 angle: number;
5 colors: SingleOrMultiple<string>;
6 count: number;
7 decay: number;
8 disableForReducedMotion: boolean;
9 drift: number;
10 gravity: number;
11 position: ICoordinates;
12 scalar: number;
13 shapeOptions: ShapeData;
14 shapes: SingleOrMultiple<string>;
15 spread: number;
16 startVelocity: number;
17 ticks: number;
18 zIndex: number;
19 constructor();
20 get origin(): ICoordinates;
21 set origin(value: ICoordinates);
22 get particleCount(): number;
23 set particleCount(value: number);
24 load(data?: RecursivePartial<IConfettiOptions>): void;
25}