showing results for - "ionic 3 alert"
Amy
08 Jun 2016
1import { AlertController } from 'ionic-angular';
2...
3constructor(private alertCtrl: AlertController) {}
4...
5presentAlert() {
6  let alert = this.alertCtrl.create({
7    title: 'Low battery',
8    subTitle: '10% of battery remaining',
9    buttons: ['Dismiss']
10  });
11  alert.present();
12}
Seb
09 Feb 2016
1let alert = this.alertCtrl.create({
2	title: 'Low battery',
3    subTitle: '10% of battery remaining',
4    buttons: ['Dismiss'],
5    cssClass: 'custom-class'
6});
7alert.present();
similar questions
input output ionic
queries leading to this page
ionic common alert funcionic alert controllerionic custom alert close buttonionic alert boxionic 3 alert css customalert in ionichtml en alert ionicionic alert messageglobal ionic alertionic 6 alertionic alert with inputalert message css in ionicalert ionic5ionic alert dismissionic 3 add alert button to close alertcreate alert in ionic using jsalert in ionic handlerionic 5 alertionic app update alert box examplealerte ionicionic 3 alertionic alert alarmionic alertcontroller css ionic custom alert with stylesionic alert conionic alert listalert ionic 3ionic alert controller closecustom alert in ionic ionic alert custom templateionic 1 alert popupionic alertctrlionic 5 alert controlleralert box in ionic angularalert controller in ionic 4ionic 4 alertalert controller with list ionic 5ion alertalertctrl ionic 5alertctrl ionicalert dismiss in ionic 5alert ionic typeionic alertctrl createalertcontroller ionic 4alert controller ionic 5ionic alert html messageionic alert exampleionic target alertionic alertionic alert customize alert headerionic message boxionic 4 alert alertcontrollerionic 3 add alert controller button to close alertdismiss the alert controller ionic 3 functionionic info alertionic alert htmlalert message ionicalert ionicalert withoption ionicionic 5 styling alert buttonalert controller ionic 3 functionionic alert with htmlcustom css for ionic alertalert controller ionicionic dismiss all alertionic styling alert buttonalert message in ionic 4ionic 3 alertcontroller cssalerts in ionic 5ionic alert inside servicealertcontroller ionic css custom button write html inside the ionic5 alert controlleralert dismiss in ionicionic alert sylehtml in alert ionicpresent alert ionicionic alert controller examplealertcontroller ionic css customcustomize alert box in ionicionic alert styleionic alert popupalert message button in ionicion alert 5cionic button alertion alert exampleionic alert dismiss forseionic 5 alert exampleionic 3 alert