Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/components
/ open
Method
open
src/material/menu/testing/menu-harness.ts:80–84 ·
view source on GitHub ↗
Opens the menu.
()
Source
from the content-addressed store, hash-verified
78
79
/** Opens the menu. */
80
async
open(): Promise<void> {
81
if
(!(
await
this.isOpen())) {
82
return
(
await
this.host()).click();
83
}
84
}
85
86
/** Closes the menu. */
87
async
close(): Promise<void> {
Callers
1
clickItem
Method · 0.95
Calls
2
isOpen
Method · 0.95
click
Method · 0.65
Tested by
no test coverage detected