12345678910111213141516171819202122232425 |
- export type TouchInteraction = {
- id: string;
- touch: Touch;
- x: number;
- y: number;
- deltaX: number;
- deltaY: number;
- };
- export declare class TouchController {
- private _startTouches;
- private _endTouches;
- private _touches;
- private _enabled;
- get startTouches(): TouchInteraction[];
- get endTouches(): TouchInteraction[];
- get touches(): TouchInteraction[];
- get enabled(): boolean;
- set enabled(value: boolean);
- init(): void;
- private onTouchStart;
- private onTouchEnd;
- private onTouchMove;
- private getCurrentTouchIndexById;
- private setTouchValues;
- }
|