Ionic Hide Menu or Tabs for Login Screen

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/

image

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

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

Thank you so much. That solved the problem.

1 Like