mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +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."
af1bfef327/js/angular/service/modal.js (L87)
This commit is contained in:
1
ionic/ionic.d.ts
vendored
1
ionic/ionic.d.ts
vendored
@@ -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