Hide Menu Ionic 3


#1

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


#2

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);
    }