mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(overlay): onDidDismiss() and onWillDismiss()
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user