Skip to content

Unable to close programmatically #67

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
liebsen opened this issue Dec 12, 2019 · 3 comments
Open

Unable to close programmatically #67

liebsen opened this issue Dec 12, 2019 · 3 comments

Comments

@liebsen
Copy link

liebsen commented Dec 12, 2019

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

@Godofbrowser
Copy link
Owner

Godofbrowser commented Dec 13, 2019

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
Copy link
Author

liebsen commented Dec 13, 2019

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
Copy link
Owner

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants