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

Method close

src/material/sidenav/drawer.ts:541–543  ·  view source on GitHub ↗

Close the drawer.

()

Source from the content-addressed store, hash-verified

539
540 /** Close the drawer. */
541 close(): Promise<MatDrawerToggleResult> {
542 return this.toggle(false);
543 }
544
545 /** Closes the drawer with context that the backdrop was clicked. */
546 _closeViaBackdropClick(): Promise<MatDrawerToggleResult> {

Callers 2

constructorMethod · 0.95
closeMethod · 0.45

Calls 1

toggleMethod · 0.95

Tested by

no test coverage detected