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

Method close

src/material/sidenav/drawer.ts:917–919  ·  view source on GitHub ↗

Calls `close` of both start and end drawers

()

Source from the content-addressed store, hash-verified

915
916 /** Calls `close` of both start and end drawers */
917 close(): void {
918 this._drawers.forEach(drawer => drawer.close());
919 }
920
921 /**
922 * 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