Ionic 2: Place Drawer Content In Multiple Views Dynamically
I'm working with ionic tab template to which I added a navigation drawer. I want the navigation drawer to be available to all the tabs, but I don't want to repeat the markup for th
Solution 1:
Check Persistent Menu section here
You need to set
<ion-menu [content]="mycontent" persistent=true>
Persistent menus display the MenuToggle button in the Navbar on all pages in the navigation stack.
It should display for all your tabs unless you dont want to set menu for inner pages. Sample menu code by ionic here The menu for the entire app is set here
Post a Comment for "Ionic 2: Place Drawer Content In Multiple Views Dynamically"