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

Method _isShowingBackdrop

src/material/sidenav/drawer.ts:1062–1067  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1060 }
1061
1062 _isShowingBackdrop(): boolean {
1063 return (
1064 (this._isDrawerOpen(this._start) && this._drawerHasBackdrop(this._start)) ||
1065 (this._isDrawerOpen(this._end) && this._drawerHasBackdrop(this._end))
1066 );
1067 }
1068
1069 private _isDrawerOpen(drawer: MatDrawer | null): drawer is MatDrawer {
1070 return drawer != null && drawer.opened;

Callers 2

_updateInertMethod · 0.80
_updateFocusTrapStateMethod · 0.80

Calls 2

_isDrawerOpenMethod · 0.95
_drawerHasBackdropMethod · 0.95

Tested by

no test coverage detected