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.

55 lines (54 loc) 1.69 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"; /** * [[include:Options/Particles/Move.md]] * @category Options */ export interface IMove { /** * @deprecated use the new collisions property on particles instead */ bounce: boolean; /** * @deprecated use the new collisions property on particles instead */ collisions: boolean; /** * @deprecated use the new outModes instead */ out_mode: OutMode | keyof typeof OutMode | OutModeAlt; /** * @deprecated use the new outModes instead */ outMode: OutMode | keyof typeof OutMode | OutModeAlt; /** * @deprecated use the new [[path]] property instead */ 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; }