Skip to content

bug: angular, isAnimating() not defined on menu controller provider #20053

Description

@nogamenofun98

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

image

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:

  1. just import the menu controller in any module, and write like this.menu.isAnimating(), it will show not found error

Related code:

Ionic info:

image

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions