mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs($ionicModal): add docs for modal.removed and modal.hide
Closes #1320
This commit is contained in:
committed by
Andrew Joslin
parent
919d4f8dca
commit
7494b0525e
8
js/angular/service/modal.js
vendored
8
js/angular/service/modal.js
vendored
@@ -38,6 +38,14 @@
|
||||
* $scope.$on('$destroy', function() {
|
||||
* $scope.modal.remove();
|
||||
* });
|
||||
* // Execute action on hide modal
|
||||
* $scope.$on('modal.hide', function() {
|
||||
* // Execute action
|
||||
* });
|
||||
* // Execute action on remove modal
|
||||
* $scope.$on('modal.removed', function() {
|
||||
* // Execute action
|
||||
* });
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user