dialog plugin - hideAll method #16911
Unanswered
ShlomoCode
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I often encounter the need to close a dialog opened using
$q.dialog({ ... })
For example, to close the dialog from a child of the dialog component, without having to move the event all the way up. Or closing the dialog in response to an event outside the component (for example, I want to display a dialog while making a network request, and after it finishes close it, and the loading plugin does not suit my need, but a dialog).
Is it possible to add a method to close all currently open dialogs? Something like
$q.dialog.hideAll()
By the way, libraries like swetalert2 have such a method, but I want the consistent quasar design.
Beta Was this translation helpful? Give feedback.
All reactions