Right menus in nested view


#1

With nested views in Ionic 2, the back button displays automatically, and all menu buttons are hidden.

How do I display a right menu button in a nested view? It always has the hidden attribute.


#2

ok, figured it out.
The menuToggle="rightMenu" attribute on a nested view sets the menu button to hidden, so remove it.
But then you have to handle the click programatically,
so add (click)="openRightMenu()" to the right menu button, and the handler needs this.menuController.open('right');

Hope this helps!