mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
@ -156,6 +156,12 @@ export class MenuController {
|
||||
return Promise.resolve(false);
|
||||
}
|
||||
|
||||
tempDisable(temporarilyDisable: boolean) {
|
||||
this._menus.forEach(menu => {
|
||||
menu.tempDisable(temporarilyDisable);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Toggle the menu. If it's closed, it will open, and if opened, it
|
||||
* will close.
|
||||
|
Reference in New Issue
Block a user