@skoff wrote:
How can I get access to the next route i'm going to with the navController?
I have a
BasePageclass which all my pages extends from. I use theionViewCanEnter()method on myBasePageso I can validate wether the user can or cannot access that page. I use this codethis.nav.getActive().nameinside that method to get the page but this gives me the current page which i'm leaving.I would like to get the next page where I want to go to be able to validate.
Any ideas on this? Thanks!
Posts: 5
Participants: 3