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.

19 lines (18 loc) 577 B
import type { ClickMode } from "../../../../Enums"; import type { SingleOrMultiple } from "../../../../Types"; /** * The canvas click event * [[include:Options/Interactivity/Click.md]] * @category Options */ export interface IClickEvent { /** * This property enables or disables the click event */ enable: boolean; /** * This property contains a [[ClickMode]] value or an array of those values. * If this value is an array, every mode will be used on click. */ mode: SingleOrMultiple<ClickMode | keyof typeof ClickMode | string>; }