MCPcopy
hub / github.com/angular/components / isSubmenuExpanded

Function isSubmenuExpanded

src/aria/menu/menu.spec.ts:250–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248 }
249
250 function isSubmenuExpanded(): boolean {
251 const berries = getItem('Berries');
252 return berries?.getAttribute('aria-expanded') === 'true';
253 }
254
255 beforeEach(async () => await setupMenu());
256

Callers 1

menu.spec.tsFile · 0.85

Calls 2

getItemFunction · 0.70
getAttributeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…