@donotsue wrote:
Hi there,
somehow I need to get the name of the last shown page.
There are three pages: Page one, two and three.
Starting at the first page, I click around over the second straight ahead to the third page. When I go back from the third page to the second page, either by clicking on back in html, calling navCtrl.back() or pushing the smartphones back button, I need to know at the showing state of the second page, if the last page was the first or third page. It’s that simple.
I cannot use the way over GET-parameters in the calling route path for the second page, when pushing any back buttons. A way over a singleton/service is imaginable, but isn’t there an eleganter way?
Best regards
Sue
Posts: 1
Participants: 1