mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +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:
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