Skip to content

Commit 7eb2f0b

Browse files
committed
fix(menu): missing output events in interface
fixes #11383
1 parent 239b559 commit 7eb2f0b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/app/menu-interface.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import { EventEmitter } from '@angular/core';
12
import { Animation } from '../../animations/animation';
23
import { Side } from '../../util/util';
34

45
export interface Menu {
6+
57
setOpen(shouldOpen: boolean, animated: boolean): Promise<boolean>;
68
open(): Promise<boolean>;
79
close(): Promise<boolean>;
@@ -13,6 +15,11 @@ export interface Menu {
1315
side: Side;
1416
id: string;
1517
isRightSide: boolean;
18+
19+
ionDrag: EventEmitter<number>;
20+
ionOpen: EventEmitter<boolean>;
21+
ionClose: EventEmitter<boolean>;
22+
1623
isAnimating(): boolean;
1724
width(): number;
1825
getContentElement(): HTMLElement;

0 commit comments

Comments
 (0)