mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +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'), {
|
||||
message: 'Hello world!',
|
||||
buttons: [
|
||||
{ text: 'Close', role: 'close' }
|
||||
{ text: 'Close', role: 'cancel' }
|
||||
]
|
||||
});
|
||||
document.body.appendChild(toast);
|
||||
|
Reference in New Issue
Block a user