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

@ -103,11 +103,6 @@ export class Toast implements ComponentInterface, OverlayInterface {
*/
@Prop() animated = true;
/**
* Emitted after the toast has loaded.
*/
@Event() ionToastDidLoad!: EventEmitter<void>;
/**
* Emitted after the toast has presented.
*/
@ -128,19 +123,6 @@ export class Toast implements ComponentInterface, OverlayInterface {
*/
@Event({ eventName: 'ionToastDidDismiss' }) didDismiss!: EventEmitter<OverlayEventDetail>;
/**
* Emitted after the toast has unloaded.
*/
@Event() ionToastDidUnload!: EventEmitter<void>;
componentDidLoad() {
this.ionToastDidLoad.emit();
}
componentDidUnload() {
this.ionToastDidUnload.emit();
}
/**
* Present the toast overlay after it has been created.
*/