Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

How to disable the back button while showing the side menu button after login?

$
0
0

@ggoforth wrote:

Hello all! Having a great time deving with Ionic, just running into one issue. I have a login route, that displays the side menu icon, this is great. When I login, I use $state.go(...) to transition to the home screen, which is also fine. The issue is on the home screen it now shows the back button < Login which takes me back to the login screen. If I disable the <ion-nav-back-button> with an ng-if like ng-if='!$state.is('home')' this works fine, however the side menu icon doesn't show!

So, how can I, disable back button all together on this home screen, and show the side menu (hamburger) icon? Thanks for any advice, ionic is fantastic, I'm just building up my learning curve :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles



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