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

How to manipulate a back button to point to a previous-previous view? (Updated)

$
0
0

@MCalleAlegra wrote:

Scenario:
Index Resources > New Resource Form > Resource Detail

Expectations:
When I go from Index Resources to New Resource Form, the back button should go back to Index resources.
When I submit the New Resource Form, I should be taken to view the Resource Detail, the back button should go back to Index resources.

Actual Result:
When I hit the back button from Resource Detail, after the form has been submitted, it would take me back to the New Todo Form.

This is a copy of How to manipulate a back button pointer to point to a previous-previous View, but it proposes a solution using $ionicViewService, but it has been deprecated for $ionicHistory.

How to do it then with $ionicHistory?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49220

Trending Articles



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