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

Nested state, page refresh, show back button to parent state?

$
0
0

@finetheagency wrote:

I am having this issue with a nested state.

I want the back button to be able to take the user to the parent state if they land on the app/page or the page gets reloaded. I know I can force show the back button but there is no history attached to it.

How can I force show and force the state of the back button to the parent?

Will any settings here work?

$scope.$on('$ionicView.beforeEnter', function (event, viewData) {
        viewData.enableBack = true;
    });

Any help would be greatly appreciated!

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



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