Godofbrowser/vuejs-dialog

Unable to close programmatically

liebsen opened this issue · 3 comments

Is there any api method to close any active instance? Thanks.

Hello @martinfrith There is currently no api to close a particular window at the moment. But there is an undocumented method (this.$dialog.destroy()) that can be used to destroy the dialog's root component completely.

This looks like an interesting feature to add though. What's your use case if i may ask?

Thank you @Godofbrowser for your quick reply. I'll look into that. vuejs-dialog is a fabulous tool, thanks for creating it. Best wishes.

Thank you for using vuejs-dialog @martinfrith, glad you found it useful.