You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
In my application i have a lots of popups so i cannot attach particular event on every modal open or closed state so that's why i need ability to trigger event on closed and on opened state when any modal opens or closed.
Example:
$uibModalStack.opened.then(function(){// Trigger when any modal is opened})$uibModalStack.closed.then(function(){// Trigger when any modal is closed})
The text was updated successfully, but these errors were encountered:
Why not write a wrapper service around $modal that lets you do this? This would add a not insignificant amount of code to the library to something you can already accomplish in your codebase for a low use case.
I am inclined to not add such a feature to the library itself given the overhead.
In my application i have a lots of popups so i cannot attach particular event on every modal open or closed state so that's why i need ability to trigger event on closed and on opened state when any modal opens or closed.
Example:
The text was updated successfully, but these errors were encountered: