interface IConfettiOptions {
    angle: number;
    colors: SingleOrMultiple<string>;
    count: number;
    decay: number;
    disableForReducedMotion: boolean;
    drift: number;
    flat: boolean;
    gravity: number;
    origin: ICoordinates;
    particleCount: number;
    position: ICoordinates;
    scalar: number;
    shapeOptions: Record<string, unknown>;
    shapes: SingleOrMultiple<string>;
    spread: number;
    startVelocity: number;
    ticks: number;
    zIndex: number;
}

Implemented by

Properties

angle: number
colors: SingleOrMultiple<string>
count: number
decay: number
disableForReducedMotion: boolean
drift: number
flat: boolean
gravity: number
origin: ICoordinates

use position instead

particleCount: number

use count instead

position: ICoordinates
scalar: number
shapeOptions: Record<string, unknown>
shapes: SingleOrMultiple<string>
spread: number
startVelocity: number
ticks: number
zIndex: number