toggle-gesture.d.ts 597B

1234567891011121314151617
  1. import { GestureController } from '../../gestures/gesture-controller';
  2. import { DomController } from '../../platform/dom-controller';
  3. import { PanGesture } from '../../gestures/pan-gesture';
  4. import { Platform } from '../../platform/platform';
  5. import { Toggle } from './toggle';
  6. /**
  7. * @hidden
  8. */
  9. export declare class ToggleGesture extends PanGesture {
  10. toggle: Toggle;
  11. constructor(plt: Platform, toggle: Toggle, gestureCtrl: GestureController, domCtrl: DomController);
  12. canStart(): boolean;
  13. onDragStart(ev: any): void;
  14. onDragMove(ev: any): void;
  15. onDragEnd(ev: any): void;
  16. }