mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 02:31:34 +08:00
test(app): use cancel role in toast not close (#19944)
This commit is contained in:

committed by
Brandy Carney

parent
d521f65053
commit
abdaaf320b
@ -60,7 +60,7 @@
|
|||||||
const toast = Object.assign(document.createElement('ion-toast'), {
|
const toast = Object.assign(document.createElement('ion-toast'), {
|
||||||
message: 'Hello world!',
|
message: 'Hello world!',
|
||||||
buttons: [
|
buttons: [
|
||||||
{ text: 'Close', role: 'close' }
|
{ text: 'Close', role: 'cancel' }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
document.body.appendChild(toast);
|
document.body.appendChild(toast);
|
||||||
|
Reference in New Issue
Block a user