Ionic – knowledge

Unit Testing: Facebook Jest testing Framework

To remove the back arrow in navigating page

we have to use this.navCtrl.push(PageName to this.navCtrl.setRoot(PageName)

ToastController
A Toast is a subtle notification commonly used in modern applications. It can be used to provide feedback about an operation or to display a system message. The toast appears on top of the app’s content and can be dismissed by the app to resume user interaction with the app. Example

presentToast() {
  let toast = this.toastCtrl.create({
    message: 'User was added successfully',
    duration: 3000,
    position: 'top'
  });

  toast.onDidDismiss(() => {
    console.log('Dismissed toast');
  });

  toast.present();

 

Github To Check:

https://github.com/appseed-io