mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +00:00
Added example where dialog is closed programmatically
This commit is contained in:
@@ -178,7 +178,10 @@ export default {
|
||||
text: 'You can add an arbitrary number of buttons.',
|
||||
buttons: [
|
||||
{
|
||||
title: 'C💩NCEL'
|
||||
title: 'C💩NCEL',
|
||||
handler: () => {
|
||||
this.$modal.hide('dialog')
|
||||
}
|
||||
},
|
||||
{
|
||||
title: 'LIKE',
|
||||
|
||||
Reference in New Issue
Block a user