mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -202,6 +202,7 @@ export class Menu extends Ion {
|
||||
this._prevent();
|
||||
this.app.setTransitioning(true);
|
||||
this._getType().setProgess(value);
|
||||
this.opening.next(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,4 +58,8 @@ class E2EApp {
|
||||
this.app.getComponent('leftMenu').close();
|
||||
});
|
||||
}
|
||||
|
||||
onMenuOpening(ev) {
|
||||
console.log('onMenuOpening', ev);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<ion-menu [content]="content" id="leftMenu" side="left">
|
||||
<ion-menu [content]="content" id="leftMenu" side="left" (opening)="onMenuOpening($event)">
|
||||
|
||||
<ion-toolbar secondary>
|
||||
<ion-title>Left Menu</ion-title>
|
||||
|
||||
Reference in New Issue
Block a user