Hi,
I need to know which page I am navigating to inside the ionViewWillLeave event.
Any suggestions?
While you wait for better answers, I’d like to urge you to rethink this design. Pages should be independent entities - that way you are drawing clear lines of responsibility demarcation that makes your app robust, testable, and maintainable. Any time a component needs to know anything about any other component - be it a child wanting to know where it’s hosted or a page wanting to know where it came from or is going to, that’s a flaming red flag of spaghetti in my book.