(private readonly _canHaveBackdrop: boolean)
| 154 | protected abstract _getOutsideClickStream(overlayRef: OverlayRef): Observable<unknown>; |
| 155 | |
| 156 | constructor(private readonly _canHaveBackdrop: boolean) { |
| 157 | const parentMenu = inject<MatMenuPanel>(MAT_MENU_PANEL, {optional: true}); |
| 158 | this._parentMaterialMenu = parentMenu instanceof MatMenu ? parentMenu : undefined; |
| 159 | } |
| 160 | |
| 161 | ngOnDestroy() { |
| 162 | if (this._menu && this._ownsMenu(this._menu)) { |
nothing calls this directly
no outgoing calls
no test coverage detected