tsparticles-engine
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.
19 lines (18 loc) • 998 B
TypeScript
import type { Container } from "../../../Core/Container";
import type { Engine } from "../../../Core/Engine";
import { Events } from "./Events/Events";
import type { IInteractivity } from "../../Interfaces/Interactivity/IInteractivity";
import type { IOptionLoader } from "../../Interfaces/IOptionLoader";
import { InteractivityDetect } from "../../../Enums/InteractivityDetect";
import { Modes } from "./Modes/Modes";
import type { RecursivePartial } from "../../../Types/RecursivePartial";
export declare class Interactivity implements IInteractivity, IOptionLoader<IInteractivity> {
[name: string]: unknown;
detectsOn: InteractivityDetect | keyof typeof InteractivityDetect;
events: Events;
modes: Modes;
constructor(engine: Engine, container?: Container);
get detect_on(): InteractivityDetect | keyof typeof InteractivityDetect;
set detect_on(value: InteractivityDetect | keyof typeof InteractivityDetect);
load(data?: RecursivePartial<IInteractivity>): void;
}