Skip to content

Commit 7494b05

Browse files
SanderHelingajoslin
authored andcommitted
docs($ionicModal): add docs for modal.removed and modal.hide
Closes #1320
1 parent 919d4f8 commit 7494b05

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

js/angular/service/modal.js

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@
3838
* $scope.$on('$destroy', function() {
3939
* $scope.modal.remove();
4040
* });
41+
* // Execute action on hide modal
42+
* $scope.$on('modal.hide', function() {
43+
* // Execute action
44+
* });
45+
* // Execute action on remove modal
46+
* $scope.$on('modal.removed', function() {
47+
* // Execute action
48+
* });
4149
* });
4250
* ```
4351
*/

0 commit comments

Comments
 (0)