diff --git a/src/components/app/menu-interface.ts b/src/components/app/menu-interface.ts index 45384961fe4..1d3d011f039 100644 --- a/src/components/app/menu-interface.ts +++ b/src/components/app/menu-interface.ts @@ -1,7 +1,9 @@ +import { EventEmitter } from '@angular/core'; import { Animation } from '../../animations/animation'; import { Side } from '../../util/util'; export interface Menu { + setOpen(shouldOpen: boolean, animated: boolean): Promise; open(): Promise; close(): Promise; @@ -13,6 +15,11 @@ export interface Menu { side: Side; id: string; isRightSide: boolean; + + ionDrag: EventEmitter; + ionOpen: EventEmitter; + ionClose: EventEmitter; + isAnimating(): boolean; width(): number; getContentElement(): HTMLElement;