UNPKG

tsparticles

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.

36 lines (35 loc) 1.24 kB
import type { MoveDirection, MoveDirectionAlt, OutMode, OutModeAlt } from "../../../../Enums"; import type { IAttract } from "./IAttract"; import type { IDistance } from "../../../../Core"; import type { IMoveAngle } from "./IMoveAngle"; import type { IMoveGravity } from "./IMoveGravity"; import type { IOutModes } from "./IOutModes"; import type { IPath } from "./Path/IPath"; import type { ISpin } from "./ISpin"; import type { ITrail } from "./ITrail"; import type { RangeValue } from "../../../../Types"; export interface IMove { bounce: boolean; collisions: boolean; out_mode: OutMode | keyof typeof OutMode | OutModeAlt; outMode: OutMode | keyof typeof OutMode | OutModeAlt; noise: IPath; angle: number | IMoveAngle; attract: IAttract; decay: number; direction: MoveDirection | keyof typeof MoveDirection | MoveDirectionAlt | number; distance: number | Partial<IDistance>; drift: RangeValue; enable: boolean; gravity: IMoveGravity; outModes: IOutModes | OutMode | keyof typeof OutMode | OutModeAlt; path: IPath; random: boolean; size: boolean; speed: RangeValue; spin: ISpin; straight: boolean; trail: ITrail; vibrate: boolean; warp: boolean; }