UNPKG

tsparticles

Version:

Easily create highly customizable particle 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.

45 lines (44 loc) 1.66 kB
import type { IMove } from "../../../Interfaces/Particles/Move/IMove"; import { Attract } from "./Attract"; import { MoveDirection, MoveDirectionAlt, OutMode, OutModeAlt } from "../../../../Enums"; import { Trail } from "./Trail"; import type { RangeValue, RecursivePartial } from "../../../../Types"; import { Path } from "./Path/Path"; import type { IOptionLoader } from "../../../Interfaces/IOptionLoader"; import { MoveAngle } from "./MoveAngle"; import { MoveGravity } from "./MoveGravity"; import { OutModes } from "./OutModes"; import type { IDistance } from "../../../../Core/Interfaces"; import { Spin } from "./Spin"; export declare class Move implements IMove, IOptionLoader<IMove> { get collisions(): boolean; set collisions(value: boolean); get bounce(): boolean; set bounce(value: boolean); get out_mode(): OutMode | keyof typeof OutMode | OutModeAlt; set out_mode(value: OutMode | keyof typeof OutMode | OutModeAlt); get outMode(): OutMode | keyof typeof OutMode | OutModeAlt; set outMode(value: OutMode | keyof typeof OutMode | OutModeAlt); get noise(): Path; set noise(value: Path); angle: MoveAngle; attract: Attract; direction: MoveDirection | keyof typeof MoveDirection | MoveDirectionAlt | number; distance: Partial<IDistance>; decay: number; drift: RangeValue; enable: boolean; gravity: MoveGravity; path: Path; outModes: OutModes; random: boolean; size: boolean; speed: RangeValue; spin: Spin; straight: boolean; trail: Trail; vibrate: boolean; warp: boolean; constructor(); load(data?: RecursivePartial<IMove>): void; }