Hide Menu Ionic 3

How to hide menu in app component in the login process using firebase authentication?

1 Like

In login component I imported

import { MenuController } from 'ionic-angular';

ionViewDidEnter() { 
      // the root left menu should be disabled on this page
      this.menu.enable(false);
    }

    ionViewWillLeave() {
      // enable the root left menu when leaving this page
      this.menu.enable(true);
    }
1 Like