When navigating to a different page, ion-navbar
places a back button to pop()
to the previous page. Is there a way to change this behaviour so it uses setRoot()
instead of pop()
, or will I have to use ion-toolbar
instead and manually add my own custom back button?
(As a side note, the reason I want to use setRoot()
is because it’s an easy way to force the previous page to refresh instead of using the cached version. Using lifecycle hooks like ionViewWillEnter
don’t seem to get around this problem (maybe because i’m still on one of the RC versions?). So if there’s another way around this all together, I can try that as well.)