Ionic 3 Alert
import { AlertController } from 'ionic-angular';
...
constructor(private alertCtrl: AlertController) {}
...
presentAlert() {
let alert = this.alertCtrl.create({
title: 'Low battery',
subTitle: '10% of battery remaining',
buttons: ['Dismiss']
});
alert.present();
}
GutoTrosla