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

Method ngOnDestroy

src/material/bottom-sheet/bottom-sheet.ts:136–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 ngOnDestroy() {
137 if (this._bottomSheetRefAtThisLevel) {
138 this._bottomSheetRefAtThisLevel.dismiss();
139 }
140 }
141}

Callers 1

Calls 1

dismissMethod · 0.45

Tested by

no test coverage detected