Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ionic toast

constructor(public toastController: ToastController) {}

async presentToast() {
  const toast = await this.toastController.create({
    message: 'Your settings have been saved.',
    duration: 2000
  });
  toast.present();
}
Source by ionicframework.com #
 
PREVIOUS NEXT
Tagged: #ionic #toast
ADD COMMENT
Topic
Name
1+5 =