mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -27,7 +27,7 @@ class E2EPage {
|
||||
doConfirm() {
|
||||
let alert = Alert.create();
|
||||
alert.setTitle('Confirm!');
|
||||
alert.setMessage('Message text!!!');
|
||||
alert.setMessage('Message <strong>text</strong>!!!');
|
||||
alert.addButton({
|
||||
text: 'Cancel',
|
||||
handler: () => {
|
||||
@@ -37,7 +37,7 @@ class E2EPage {
|
||||
}
|
||||
});
|
||||
alert.addButton({
|
||||
text: 'Ok',
|
||||
text: 'Okay',
|
||||
handler: () => {
|
||||
console.log('Confirm Ok');
|
||||
this.testConfirmResult = 'Ok';
|
||||
|
||||
Reference in New Issue
Block a user