Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ isFocused
Method
isFocused
src/material/menu/testing/menu-harness.ts:75–77 ·
view source on GitHub ↗
Whether the menu is focused.
()
Source
from the content-addressed store, hash-verified
73
74
/** Whether the menu is focused. */
75
async
isFocused(): Promise<boolean> {
76
return
(
await
this.host()).isFocused();
77
}
78
79
/** Opens the menu. */
80
async
open(): Promise<void> {
Callers
nothing calls this directly
Calls
1
isFocused
Method · 0.65
Tested by
no test coverage detected