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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -