MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/cdk/dialog/dialog-container.ts:117–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected