mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-12-08 20:48:46 +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.',
|
text: 'You can add an arbitrary number of buttons.',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
title: 'C💩NCEL'
|
title: 'C💩NCEL',
|
||||||
|
handler: () => {
|
||||||
|
this.$modal.hide('dialog')
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'LIKE',
|
title: 'LIKE',
|
||||||
|
|||||||
Reference in New Issue
Block a user