How to hide and disable side menu for specify pages

let say I have home and login page and I want to hide the ‘burger icon’ and disable ‘drag to left’ side menu in login page but active in home page.

How to do that?

http://ionicframework.com/docs/api/service/$ionicSideMenuDelegate/

$ionicSideMenuDelegate.canDragContent(false)

1 Like

It doesn’t hide the ‘burger icon’. How to hide the ‘burger icon’