UNPKG

tsparticles

Version:

Easily create highly customizable particle 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.

13 lines (12 loc) 425 B
import type { Container } from "../../Core/Container"; import type { IExternalInteractor } from "../../Core/Interfaces/IExternalInteractor"; export declare class Attractor implements IExternalInteractor { private readonly container; constructor(container: Container); isEnabled(): boolean; reset(): void; interact(): void; private hoverAttract; private processAttract; private clickAttract; }