a zip code crypto-currency system good for red ONLY

pointer-events.d.ts 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { EventListenerOptions, Platform } from '../platform/platform';
  2. /**
  3. * @hidden
  4. */
  5. export declare class PointerEvents {
  6. private plt;
  7. private ele;
  8. private pointerDown;
  9. private pointerMove;
  10. private pointerUp;
  11. private option;
  12. private rmTouchStart;
  13. private rmTouchMove;
  14. private rmTouchEnd;
  15. private rmTouchCancel;
  16. private rmMouseStart;
  17. private rmMouseMove;
  18. private rmMouseUp;
  19. private bindTouchEnd;
  20. private bindMouseUp;
  21. private lastTouchEvent;
  22. mouseWait: number;
  23. lastEventType: number;
  24. constructor(plt: Platform, ele: any, pointerDown: any, pointerMove: any, pointerUp: any, option: EventListenerOptions);
  25. private handleTouchStart(ev);
  26. private handleMouseDown(ev);
  27. private handleTouchEnd(ev);
  28. private handleMouseUp(ev);
  29. private stopTouch();
  30. private stopMouse();
  31. stop(): void;
  32. destroy(): void;
  33. }
  34. export declare const POINTER_EVENT_TYPE_MOUSE = 1;
  35. export declare const POINTER_EVENT_TYPE_TOUCH = 2;
  36. export interface PointerEventsConfig {
  37. element?: HTMLElement;
  38. pointerDown: (ev: any) => boolean;
  39. pointerMove?: (ev: any) => void;
  40. pointerUp?: (ev: any) => void;
  41. zone?: boolean;
  42. capture?: boolean;
  43. passive?: boolean;
  44. }