fix(overlays): make them hidden until presented (#16903)

fixes #16685
This commit is contained in:
Manu MA
2018-12-29 01:31:33 +01:00
committed by GitHub
parent 3d656ac312
commit 302be5392c
25 changed files with 35 additions and 219 deletions

View File

@ -100,16 +100,6 @@ export class Alert implements ComponentInterface, OverlayInterface {
*/
@Prop() animated = true;
/**
* Emitted after the alert has presented.
*/
@Event() ionAlertDidLoad!: EventEmitter<void>;
/**
* Emitted before the alert has presented.
*/
@Event() ionAlertDidUnload!: EventEmitter<void>;
/**
* Emitted after the alert has presented.
*/
@ -171,14 +161,6 @@ export class Alert implements ComponentInterface, OverlayInterface {
this.buttonsChanged();
}
componentDidLoad() {
this.ionAlertDidLoad.emit();
}
componentDidUnload() {
this.ionAlertDidUnload.emit();
}
@Listen('ionBackdropTap')
protected onBackdropTap() {
this.dismiss(undefined, BACKDROP);