sidemenu hide in ionic3

in constructor
import { MenuController } from 'ionic-angular';
private menu: MenuController,


ionViewDidEnter() {
this.menu.swipeEnable(false);
}

ionViewWillLeave() {
this.menu.swipeEnable(true);
}

Comments

Popular posts from this blog

How to Add Firebase Analytics to Your NativeScript Mobile App

sidemenu refresh through events

push multiple data in array(select and disselect items in array)