MCPcopy Index your code
hub / github.com/angular/components / close

Method close

src/cdk/menu/context-menu-trigger.ts:94–96  ·  view source on GitHub ↗

Close the currently opened context menu.

()

Source from the content-addressed store, hash-verified

92
93 /** Close the currently opened context menu. */
94 close() {
95 this.menuStack.closeAll();
96 }
97
98 /**
99 * Open the context menu and closes any previously open menus.

Callers

nothing calls this directly

Calls 1

closeAllMethod · 0.45

Tested by

no test coverage detected