()
| 115 | private _isDestroyed = false; |
| 116 | |
| 117 | constructor() { |
| 118 | super(); |
| 119 | |
| 120 | // Callback is primarily for some internal tests |
| 121 | // that were instantiating the dialog container manually. |
| 122 | this._config = (inject(DialogConfig, {optional: true}) || new DialogConfig()) as C; |
| 123 | |
| 124 | if (this._config.ariaLabelledBy) { |
| 125 | this._ariaLabelledByQueue.push(this._config.ariaLabelledBy); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | _addAriaLabelledBy(id: string) { |
| 130 | this._ariaLabelledByQueue.push(id); |