ionic 3 alert css custom

Solutions on MaxInterview for ionic 3 alert css custom by the best coders in the world

showing results for - "ionic 3 alert css custom"
Louisa
28 Jan 2019
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}
Candice
15 Jun 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
ionic status bar color