mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
@ -238,6 +238,11 @@ export class Menu {
|
||||
return !this.disabled && !this.isPaneVisible;
|
||||
}
|
||||
|
||||
@Method()
|
||||
getWidth(): number {
|
||||
return this.width;
|
||||
}
|
||||
|
||||
private async loadAnimation(): Promise<void> {
|
||||
// Menu swipe animation takes the menu's inner width as parameter,
|
||||
// If `offsetWidth` changes, we need to create a new animation.
|
||||
|
||||
Reference in New Issue
Block a user