mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
@ -210,7 +210,7 @@ export class MenuController {
|
|||||||
|
|
||||||
@Method()
|
@Method()
|
||||||
async _setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean> {
|
async _setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean> {
|
||||||
if (this.isAnimating()) {
|
if (await this.isAnimating()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (shouldOpen) {
|
if (shouldOpen) {
|
||||||
|
Reference in New Issue
Block a user