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.
12 lines (11 loc) • 365 B
TypeScript
import { ExternalInteractorBase } from "../../../Core";
import type { Container } from "../../../Core";
export declare class Attractor extends ExternalInteractorBase {
constructor(container: Container);
isEnabled(): boolean;
reset(): void;
interact(): Promise<void>;
private hoverAttract;
private processAttract;
private clickAttract;
}