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

Method closeAll

src/cdk/dialog/dialog.ts:168–170  ·  view source on GitHub ↗

* Closes all of the currently-open dialogs.

()

Source from the content-addressed store, hash-verified

166 * Closes all of the currently-open dialogs.
167 */
168 closeAll(): void {
169 reverseForEach(this.openDialogs, dialog => dialog.close());
170 }
171
172 /**
173 * Finds an open dialog by its id.

Callers 2

openMethod · 0.45
dialog.spec.tsFile · 0.45

Calls 2

reverseForEachFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected