Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ click
Method
click
src/material/menu/testing/menu-harness.ts:197–199 ·
view source on GitHub ↗
Clicks the menu item.
()
Source
from the content-addressed store, hash-verified
195
196
/** Clicks the menu item. */
197
async
click(): Promise<void> {
198
return
(
await
this.host()).click();
199
}
200
201
/** Whether this item has a submenu. */
202
async
hasSubmenu(): Promise<boolean> {
Callers
nothing calls this directly
Calls
1
click
Method · 0.65
Tested by
no test coverage detected