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

Method _getContent

src/material/sidenav/drawer.ts:622–624  ·  view source on GitHub ↗

Gets the current content element.

()

Source from the content-addressed store, hash-verified

620
621 /** Gets the current content element. */
622 private _getContent() {
623 return this._container?._content || this._container?._userContent;
624 }
625
626 /** Toggles whether the drawer is currently animating. */
627 private _setIsAnimating(isAnimating: boolean) {

Callers 2

modeMethod · 0.95
_setOpenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected