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

Method close

src/material/sidenav/drawer.ts:897–899  ·  view source on GitHub ↗

Calls `close` of both start and end drawers

()

Source from the content-addressed store, hash-verified

895
896 /** Calls `close` of both start and end drawers */
897 close(): void {
898 this._drawers.forEach(drawer => drawer.close());
899 }
900
901 /**
902 * Recalculates and updates the inline styles for the content. Note that this should be used

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected