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