From 7eb2f0b343d4a43df5fa325c966691f8e1beb814 Mon Sep 17 00:00:00 2001 From: Manuel Mtz-Almeida Date: Thu, 27 Apr 2017 23:45:20 +0200 Subject: [PATCH] fix(menu): missing output events in interface fixes #11383 --- src/components/app/menu-interface.ts | 7 +++++++ 1 file changed, 7 insertions(+) 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;