android - ionic2 with angular js 2 side menu icon not appearing after navCtrl push -
i'm working in ionic2 , here i'm having login page , on redirect side menu swipe tabs page**homepage output home.html**. i've used **this.nav.push('homepage')**to redirect login page home page. i'm not getting menu icon, disappears , icon showing up.
can me out?
this happening because used nav.push
instead of nav.setroot
. in ionic, pushing page adds stack, , button pops
off stack.
you want use setroot
here:
this.nav.setroot('homepage');
Comments
Post a Comment