Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Going back multiple states

$
0
0

@xtravanta wrote:

Hi,

Hopefully somebody can help me out here.
i got a problem with going back 2 states.

states are like this

cart.cart -> cart.cases -> progress

cart.cart: the user has to choose 1 or multiple items to add to a case
cart.cases: the user has to choose a case where the items will go to after the did that the will be send to the progress state
progress: the items will be processed (send to server) after everything is completed the user has to go back to cart.cart

What i tried is the following

when user pressed hardware back button or a visuals back button the method back will be called this will do some extra actions and then it will call calling$ionicHistory.go(-2);

this will result in to going to cart.cases

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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