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

Method closeAll

src/cdk/dialog/dialog.ts:169–171  ·  view source on GitHub ↗

* Closes all of the currently-open dialogs.

()

Source from the content-addressed store, hash-verified

167 * Closes all of the currently-open dialogs.
168 */
169 closeAll(): void {
170 reverseForEach(this.openDialogs, dialog => dialog.close());
171 }
172
173 /**
174 * 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