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:743–745 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
741
}
742
743
function
isExpanded(): boolean {
744
return
getTrigger().getAttribute(
'aria-expanded'
) ===
'true'
;
745
}
746
747
describe(
'Navigation'
, () => {
748
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