Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Adding tabs to a view while default template is sidemenu

$
0
0

@anubro wrote:

My project's default template is sidemenu , I needed to have tabs on a inner view, I created another tab project and copied useful content into it, so far, everything is working fine however, on tab views I did not see navigation bar/title bar so, I copied following code into tab views inside tags but before ion-content,
<ion-nav-bar class="bar-stable">
<ion-nav-back-button>
</ion-nav-back-button>
</ion-nav-bar>

example one of my tab view is as follows:

<ion-view title="Appointments">
<ion-nav-bar class="bar-stable">
<ion-nav-back-button>
</ion-nav-back-button>
</ion-nav-bar>
<ion-content padding="true">
appointments today
</ion-content>
</ion-view>

now bar is back, but no side menu, only title,
what should I add into it to display sidemenu on tab's view too ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>