Godofbrowser/vuejs-dialog

hi, Excuse me

awesomezz opened this issue · 4 comments

How to set only one button ? thank you

Hello @awesomezz to display only one button you'll need to use the vm.$dialog.alert() method instead of vm.$dialog.confirm(). it's also possible to place the button on the left hand side of the dialog by setting the reverse option vm.$dialog.alert('This is an alert', {reverse: true})

You're welcome.