UNPKG

ionic-framework

Version:

The ionic-framework package comes with both Javascript and Sass frontend dependencies, located in the root of the package, and a Node API, located in `tooling/`.

34 lines (33 loc) 1.07 kB
import { Menu } from './menu'; import { SlideEdgeGesture } from '../../gestures/slide-edge-gesture'; export declare class MenuContentGesture extends SlideEdgeGesture { menu: Menu; constructor(menu: Menu, targetEl: Element, options?: {}); canStart(ev: any): boolean; onSlideBeforeStart(slide: any, ev: any): void; onSlide(slide: any, ev: any): void; onSlideEnd(slide: any, ev: any): void; getElementStartPos(slide: any, ev: any): any; getSlideBoundaries(): { min: number; max: number; }; } /** * Support dragging the target menu as well as the content. */ export declare class TargetGesture extends MenuContentGesture { constructor(menu: Menu); } export declare class LeftMenuGesture extends MenuContentGesture { constructor(menu: Menu); } export declare class RightMenuGesture extends MenuContentGesture { constructor(menu: Menu); onSlide(slide: any, ev: any): void; getElementStartPos(slide: any, ev: any): any; getSlideBoundaries(): { min: number; max: number; }; }