UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

15 lines (14 loc) 628 B
import type { IInteractivity } from "../../../Interfaces/Options/Interactivity/IInteractivity"; import { InteractivityDetect } from "../../../Enums/InteractivityDetect"; import { Events } from "./Events/Events"; import { Modes } from "./Modes/Modes"; import type { RecursivePartial } from "../../../Types/RecursivePartial"; export declare class Interactivity implements IInteractivity { get detect_on(): InteractivityDetect; set detect_on(value: InteractivityDetect); detectsOn: InteractivityDetect; events: Events; modes: Modes; constructor(); load(data?: RecursivePartial<IInteractivity>): void; }