How can I get access to the next route i’m going to with the navController?
I have a
BasePage class which all my pages extends from. I use the
ionViewCanEnter() method on my
BasePage so I can validate wether the user can or cannot access that page. I use this code
this.nav.getActive().name inside 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!