()
| 98 | protected abstract _onRemove(): void; |
| 99 | |
| 100 | ngOnInit() { |
| 101 | if (!this._dialogRef) { |
| 102 | this._dialogRef = getClosestDialog(this._elementRef, this._dialog.openDialogs)!; |
| 103 | } |
| 104 | |
| 105 | if (this._dialogRef) { |
| 106 | Promise.resolve().then(() => { |
| 107 | this._onAdd(); |
| 108 | }); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | ngOnDestroy() { |
| 113 | // Note: we null check because there are some internal |
nothing calls this directly
no test coverage detected