slide-edge-gesture.d.ts 550B

123456789101112131415161718192021
  1. import { SlideGesture } from './slide-gesture';
  2. import { Platform } from '../platform/platform';
  3. /**
  4. * @hidden
  5. */
  6. export declare class SlideEdgeGesture extends SlideGesture {
  7. edges: string[];
  8. maxEdgeStart: any;
  9. private _d;
  10. constructor(plt: Platform, element: HTMLElement, opts?: any);
  11. setEdges(edges: string): void;
  12. canStart(ev: any): boolean;
  13. getContainerDimensions(): {
  14. left: number;
  15. top: number;
  16. width: number;
  17. height: number;
  18. };
  19. _checkEdge(edge: string, pos: any): boolean;
  20. }