mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add remove() to ionic.modal.IonicModalController
Per api: http://ionicframework.com/docs/api/controller/ionicModal/ note the note in the ionic source code: "Be sure to call [remove()](#remove) when you are done with each modal to clean it up and avoid memory leaks." https://github.com/driftyco/ionic/blob/af1bfef327e685585244c6051c4d38b98aa6c62a/js/angular/service/modal.js#L87
This commit is contained in:
1 parent
78ba6e4154
commit
f05f79fd58
2 files changed
+2
No files matched your search
Vendored
+1
@@ -174,6 +174,7 @@ declare module ionic {
|
||||
initialize(options: IonicModalOptions): void;
|
||||
show(): ng.IPromise<void>;
|
||||
hide(): ng.IPromise<void>;
|
||||
remove(): ng.IPromise<void>;
|
||||
isShown(): boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user