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

Calls 3

getMenuBarItemFunction · 0.85
getTriggerFunction · 0.70
getAttributeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…