UI for Zipcoin Blue

menu-gestures.d.ts 897B

123456789101112131415161718192021222324
  1. import { Menu } from './menu';
  2. import { DomController } from '../../platform/dom-controller';
  3. import { GestureController } from '../../gestures/gesture-controller';
  4. import { Platform } from '../../platform/platform';
  5. import { SlideEdgeGesture } from '../../gestures/slide-edge-gesture';
  6. import { SlideData } from '../../gestures/slide-gesture';
  7. /**
  8. * Gesture attached to the content which the menu is assigned to
  9. */
  10. export declare class MenuContentGesture extends SlideEdgeGesture {
  11. menu: Menu;
  12. constructor(plt: Platform, menu: Menu, gestureCtrl: GestureController, domCtrl: DomController);
  13. canStart(ev: any): boolean;
  14. onSlideBeforeStart(): void;
  15. onSlideStart(): void;
  16. onSlide(slide: SlideData): void;
  17. onSlideEnd(slide: SlideData): void;
  18. getElementStartPos(slide: SlideData): number;
  19. getSlideBoundaries(): {
  20. min: number;
  21. max: number;
  22. };
  23. }