Added example where dialog is closed programmatically

This commit is contained in:
euvl
2017-11-19 09:09:54 +00:00
parent 7d66dc9d8c
commit 01fe165efc

View File

@@ -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',