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.

21 lines (20 loc) 786 B
import type { RecursivePartial, SingleOrMultiple } from "../../../../Types"; import { ClickMode } from "../../../../Enums"; import type { IClickEvent } from "../../../Interfaces/Interactivity/Events/IClickEvent"; import type { IOptionLoader } from "../../../Interfaces/IOptionLoader"; /** * [[include:Options/Interactivity/Click.md]] * @category Options */ export declare class ClickEvent implements IClickEvent, IOptionLoader<IClickEvent> { /** * The click event handler enabling setting */ enable: boolean; /** * Click mode values described in [[ClickMode]], an array of these values is also valid */ mode: SingleOrMultiple<ClickMode | keyof typeof ClickMode | string>; constructor(); load(data?: RecursivePartial<IClickEvent>): void; }