Ionic Hide Menu or Tabs for Login Screen


#1

This question seems like a recurring theme on the forums, so I put together a tutorial. Full walkthrough and example github project linked inside:

http://www.roblouie.com/article/344/ionic-2-hide-menu-or-tabs-for-login-screen/


#2

Does not work. The menu can be still opened by swiping from left.


#3

You can use swipeEnable function to disable the feature.

this.menuController.swipeEnable(false, ‘appId’);

where appId is id of ‘ion-menu’ and menuController is variable of MenuController


#4

Thank you so much. That solved the problem.