Unable to close programmatically
liebsen opened this issue · 3 comments
liebsen commented
Is there any api method to close any active instance? Thanks.
Godofbrowser commented
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?
liebsen commented
Thank you @Godofbrowser for your quick reply. I'll look into that. vuejs-dialog is a fabulous tool, thanks for creating it. Best wishes.
Godofbrowser commented
Thank you for using vuejs-dialog @martinfrith, glad you found it useful.