1 | import { App } from '../components/app/app';
|
2 | import { Config } from '../config/config';
|
3 | import { DomController } from '../platform/dom-controller';
|
4 | import { GestureController } from '../gestures/gesture-controller';
|
5 | import { Platform } from '../platform/platform';
|
6 |
|
7 |
|
8 |
|
9 | export declare class TapClick {
|
10 | private plt;
|
11 | private app;
|
12 | private gestureCtrl;
|
13 | private disableClick;
|
14 | private usePolyfill;
|
15 | private activator;
|
16 | private startCoord;
|
17 | private activatableEle;
|
18 | private events;
|
19 | private pointerEvents;
|
20 | private lastTouchEnd;
|
21 | private dispatchClick;
|
22 | constructor(config: Config, plt: Platform, dom: DomController, app: App, gestureCtrl: GestureController);
|
23 | pointerStart(ev: any): boolean;
|
24 | pointerMove(ev: UIEvent): void;
|
25 | pointerEnd(ev: any, pointerEventType: number): void;
|
26 | pointerCancel(ev: UIEvent): void;
|
27 | shouldCancelEvent(ev: UIEvent): boolean;
|
28 | click(ev: any): void;
|
29 | private shouldCancelClick(ev);
|
30 | private profileClickDelay(ev);
|
31 | handleTapPolyfill(ev: any): void;
|
32 | isDisabledNativeClick(): boolean;
|
33 | }
|
34 | /**
|
35 | * @hidden
|
36 | */
|
37 | export declare function isActivatable(ele: HTMLElement): boolean;
|
38 | /**
|
39 | * @hidden
|
40 | */
|
41 | export declare function setupTapClick(config: Config, plt: Platform, dom: DomController, app: App, gestureCtrl: GestureController): () => TapClick;
|