vuejs-dialog icon indicating copy to clipboard operation
vuejs-dialog copied to clipboard

Unable to close programmatically

Open liebsen opened this issue 5 years ago • 3 comments

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

liebsen avatar Dec 12 '19 00:12 liebsen

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?

Godofbrowser avatar Dec 13 '19 15:12 Godofbrowser

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

liebsen avatar Dec 13 '19 15:12 liebsen

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

Godofbrowser avatar Dec 14 '19 07:12 Godofbrowser