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

Method _drawerHasBackdrop

src/material/sidenav/drawer.ts:1074–1080  ·  view source on GitHub ↗
(drawer: MatDrawer | null)

Source from the content-addressed store, hash-verified

1072
1073 // Whether argument drawer should have a backdrop when it opens
1074 private _drawerHasBackdrop(drawer: MatDrawer | null) {
1075 if (this._backdropOverride == null) {
1076 return !!drawer && drawer.mode !== 'side';
1077 }
1078
1079 return this._backdropOverride;
1080 }
1081}

Callers 3

hasBackdropMethod · 0.95
_isShowingBackdropMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected