i have 3 pages and i use: this.nav.setroot(page) to navigate…i’m try to use: back action and setroot(otherpage), any ??
this.platform.registerBackButtonAction(() => {
if(this.nav.canGoBack()){
this.presentToast(“Can go back…”);
}else{
this.presentToast(“Can’t back…”);
}
});