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

Method _getWidth

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

Source from the content-addressed store, hash-verified

629 }
630
631 _getWidth(): number {
632 return this._elementRef.nativeElement.offsetWidth || 0;
633 }
634
635 /** Updates the enabled state of the focus trap. */
636 private _updateFocusTrapState() {

Callers 1

updateContentMarginsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected