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.
Copy file name to clipboardExpand all lines: src/modal/docs/readme.md
+2
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ In addition the scope associated with modal's content is augmented with 2 method
35
35
36
36
Those methods make it easy to close a modal window without a need to create a dedicated controller.
37
37
38
+
If the $scope is destroyed via unexpected mechanism, such as it being passed in the modal options and a $route/$state transition occurs, the modal will be dismissed with the value `$uibModal`.
39
+
38
40
Finally, a `modal.closing` event is broadcast to the modal scope before the modal closes. If the listener calls
39
41
preventDefault on the event, then the modal will remain open. The $close and $dismiss methods return true if the
40
42
event was allowed. The event itself includes a parameter for the result/reason and a boolean parameter that indicates
0 commit comments