Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230426

How to use ToastController in Ionic 4?

$
0
0
async presentAlert() {
    const alert = await this.toastCtrl.create({
      message: 'User Exists',
      duration: 3000      
    });
    alert.present(); //update
  }

Do not use await in alert.present();.


Viewing all articles
Browse latest Browse all 230426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>