Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

add method to check for open dialogs #240

Closed
maxklenk opened this issue Jun 2, 2015 · 3 comments
Closed

add method to check for open dialogs #240

maxklenk opened this issue Jun 2, 2015 · 3 comments
Assignees

Comments

@maxklenk
Copy link

maxklenk commented Jun 2, 2015

There is a .closeAll() method, but I would like to check first if there are open modals (for example to stop location change and just close the modal).

Something like .getOpenModals() which returns the ids of them would be nice.

@thoughtpalette
Copy link

@maxklenk https://github.com/likeastore/ngDialog#isopenid

There is isOpen() which you can perform a conditional on and proceed/halt

@maxklenk
Copy link
Author

@thoughtpalette thank you for the response, but for using isOpen() I have to have to id of the dialog already, which I don't have.

@egor-smirnov
Copy link
Member

@maxklenk added this to plan.

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

No branches or pull requests

3 participants