Ionic version:
4.11.5
Current behavior:
when i import menu controller into a page component, i saw from the official ionic website listed got a method to detect is the menu animating or not. Link to Doc

but i couldn't find the method when writing code, IDE prompting method not found during compile and browser also say method not found.
Expected behavior:
it should be able to find the method and return the menu is animating or not.
Steps to reproduce:
- just import the menu controller in any module, and write like
this.menu.isAnimating(), it will show not found error
Related code:
Ionic info:


Ionic Info
Ionic:
ionic (Ionic CLI) : 4.11.0 (C:\Users\oks\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.5
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.1
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : browser 5.0.4
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 5 other plugins)
System:
NodeJS : v10.15.3 (D:\Program\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10
Ionic version:
4.11.5
Current behavior:
when i import menu controller into a page component, i saw from the official ionic website listed got a method to detect is the menu animating or not. Link to Doc
but i couldn't find the method when writing code, IDE prompting method not found during compile and browser also say method not found.
Expected behavior:
it should be able to find the method and return the menu is animating or not.
Steps to reproduce:
this.menu.isAnimating(), it will show not found errorRelated code:
Ionic info:
Ionic Info