Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ isExpanded
Function
isExpanded
src/aria/menu/menu.spec.ts:649–651 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
647
}
648
649
function
isExpanded(): boolean {
650
return
getTrigger().getAttribute(
'aria-expanded'
) ===
'true'
;
651
}
652
653
describe(
'Navigation'
, () => {
654
beforeEach(
async
() =>
await
setupMenu());
Callers
1
menu.spec.ts
File · 0.70
Calls
3
getMenuBarItem
Function · 0.85
getTrigger
Function · 0.70
getAttribute
Method · 0.65
Tested by
no test coverage detected