UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

29 lines (28 loc) 929 B
import type { Container } from "../Container"; export declare class EventListeners { private readonly container; private readonly mouseMoveHandler; private readonly touchStartHandler; private readonly touchMoveHandler; private readonly touchEndHandler; private readonly mouseLeaveHandler; private readonly touchCancelHandler; private readonly touchEndClickHandler; private readonly mouseUpHandler; private readonly visibilityChangeHandler; private readonly resizeHandler; private canPush; constructor(container: Container); addListeners(): void; removeListeners(): void; private manageListeners; private manageListener; private addListener; private removeListener; private handleWindowResize; private handleVisibilityChange; private mouseTouchMove; private mouseTouchFinish; private mouseTouchClick; private doMouseTouchClick; }