Ionic 2 - global NavBar for the app
In Ionic 1, we have the ability to define an
It appears in Ionic 2 we have to insert an
If so - it seems like a lot of duplicated code?
Also, it appears you do not have the ability for the NavBar to build its own back button, and you have to write the own mark-up for the back button yourself (per page) which, again, seems like a lot of code duplicate.
<ion-nav-bar> above an <ion-nav-view>, which serves as a generic nav bar for the entire app and we could turn it off on a per-view basis (using ionNavView's hideNavBar=true|false.It appears in Ionic 2 we have to insert an
<ion-nav-bar> per page - and cannot have a global nav bar for the entire app. Is that correct, or am I missing a trick?If so - it seems like a lot of duplicated code?
Also, it appears you do not have the ability for the NavBar to build its own back button, and you have to write the own mark-up for the back button yourself (per page) which, again, seems like a lot of code duplicate.
Comments
Post a Comment