ionic-angular
Version:
A powerful framework for building mobile and progressive web apps with JavaScript and Angular 2
20 lines (19 loc) • 703 B
TypeScript
import { Animation } from '../../animations/animation';
import { Platform } from '../../platform/platform';
/**
* @private
* Menu Type
* Base class which is extended by the various types. Each
* type will provide their own animations for open and close
* and registers itself with Menu.
*/
export declare class MenuType {
ani: Animation;
isOpening: boolean;
constructor(plt: Platform);
setOpen(shouldOpen: boolean, animated: boolean, done: Function): void;
setProgressStart(isOpen: boolean): void;
setProgessStep(stepValue: number): void;
setProgressEnd(shouldComplete: boolean, currentStepValue: number, velocity: number, done: Function): void;
destroy(): void;
}