UNPKG

1.07 kBTypeScriptView Raw
1import type { Container } from "../Core/Container";
2export declare class EventListeners {
3 private readonly container;
4 private readonly mouseMoveHandler;
5 private readonly touchStartHandler;
6 private readonly touchMoveHandler;
7 private readonly touchEndHandler;
8 private readonly mouseLeaveHandler;
9 private readonly touchCancelHandler;
10 private readonly touchEndClickHandler;
11 private readonly mouseDownHandler;
12 private readonly mouseUpHandler;
13 private readonly visibilityChangeHandler;
14 private readonly themeChangeHandler;
15 private readonly resizeHandler;
16 private canPush;
17 private resizeTimeout?;
18 private resizeObserver?;
19 constructor(container: Container);
20 addListeners(): void;
21 removeListeners(): void;
22 private manageListeners;
23 private handleWindowResize;
24 private handleVisibilityChange;
25 private mouseDown;
26 private mouseTouchMove;
27 private mouseTouchFinish;
28 private mouseTouchClick;
29 private doMouseTouchClick;
30 private handleThemeChange;
31 private handleClickMode;
32}