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

Method close

src/aria/private/menu/menu.ts:455–457  ·  view source on GitHub ↗

Closes the menu.

()

Source from the content-addressed store, hash-verified

453
454 /** Closes the menu. */
455 close() {
456 this.inputs.parent()?.close();
457 }
458
459 /** Closes the menu and all parent menus. */
460 closeAll() {

Callers 15

_closeItemMethod · 0.45
onMouseOutMethod · 0.45
onFocusInMethod · 0.45
onFocusOutMethod · 0.45
prevMethod · 0.45
nextMethod · 0.45
firstMethod · 0.45
lastMethod · 0.45
submitMethod · 0.45
collapseMethod · 0.45
closeAllMethod · 0.45
onClickMethod · 0.45

Calls 1

parentMethod · 0.80

Tested by

no test coverage detected