Closed orange4glace closed 2 years ago
Hi @orange4glace , could you please give any use cases for the feature?
I have a need for something like this as well. The application I am working on has stacks of modals that once closed need to make some api calls. It would be preferable to make a single api call after all modals are closed versus a single calls as they close down.
This could be achieved by https://github.com/eBay/nice-modal-react/issues/63
First, thanks for the nice library.
It would be nice if there's a API to get current active modals like
NiceModal.activeModals
:>