docs(overlay): onDidDismiss() and onWillDismiss()

This commit is contained in:
Manu Mtz.-Almeida
2018-09-07 16:44:57 +02:00
parent 2f2a255436
commit bf486e2c99
15 changed files with 75 additions and 92 deletions

View File

@ -132,7 +132,7 @@ export class Modal implements OverlayInterface {
@Listen('ionBackdropTap')
protected onBackdropTap() {
return this.dismiss(null, BACKDROP);
return this.dismiss(undefined, BACKDROP);
}
@Listen('ionModalDidPresent')
@ -186,8 +186,7 @@ export class Modal implements OverlayInterface {
}
/**
* Returns a promise that resolves when the modal did dismiss. It also accepts a callback
* that is called in the same circumstances.
* Returns a promise that resolves when the modal did dismiss.
*
*/
@Method()
@ -196,8 +195,7 @@ export class Modal implements OverlayInterface {
}
/**
* Returns a promise that resolves when the modal will dismiss. It also accepts a callback
* that is called in the same circumstances.
* Returns a promise that resolves when the modal will dismiss.
*
*/
@Method()