GestureMgr.d.ts 676 B

123456789101112131415161718
  1. import { ZRRawTouchEvent } from './types';
  2. import Displayable from '../graphic/Displayable';
  3. export declare class GestureMgr {
  4. private _track;
  5. constructor();
  6. recognize(event: ZRRawTouchEvent, target: Displayable, root: HTMLElement): {
  7. type: string;
  8. target: Displayable<import("../graphic/Displayable").DisplayableProps>;
  9. event: ZRRawTouchEvent;
  10. };
  11. clear(): this;
  12. _doTrack(event: ZRRawTouchEvent, target: Displayable, root: HTMLElement): void;
  13. _recognize(event: ZRRawTouchEvent): {
  14. type: string;
  15. target: Displayable<import("../graphic/Displayable").DisplayableProps>;
  16. event: ZRRawTouchEvent;
  17. };
  18. }