MCPcopy 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.tsFile · 0.70

Calls 3

getMenuBarItemFunction · 0.85
getTriggerFunction · 0.70
getAttributeMethod · 0.65

Tested by

no test coverage detected