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.

29 lines (28 loc) 1.07 kB
import { InteractivityDetect } from "../../../Enums"; import { Events } from "./Events/Events"; import type { IInteractivity } from "../../Interfaces/Interactivity/IInteractivity"; import type { IOptionLoader } from "../../Interfaces/IOptionLoader"; import { Modes } from "./Modes/Modes"; import type { RecursivePartial } from "../../../Types"; /** * [[include:Options/Interactivity.md]] * @category Options */ export declare class Interactivity implements IInteractivity, IOptionLoader<IInteractivity> { /** * * @deprecated this property is obsolete, please use the new detectsOn */ get detect_on(): InteractivityDetect | keyof typeof InteractivityDetect; /** * * @deprecated this property is obsolete, please use the new detectsOn * @param value */ set detect_on(value: InteractivityDetect | keyof typeof InteractivityDetect); detectsOn: InteractivityDetect | keyof typeof InteractivityDetect; events: Events; modes: Modes; constructor(); load(data?: RecursivePartial<IInteractivity>): void; }