ionic3 backbutton function
ionViewDidEnter() {
this.navBar.backButtonClick = () => {
///here you can do wathever you want to replace the backbutton event
};
}
export class Page { @ViewChild('navbar') navBar: Navbar; }
import { NavController, NavParams, Navbar } from 'ionic-angular';
export class Page { @ViewChild('navbar') navBar: Navbar; }
import { NavController, NavParams, Navbar } from 'ionic-angular';
Comments
Post a Comment