MCPcopy Create free account
hub / github.com/angular/components / isSubmenuExpanded

Function isSubmenuExpanded

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

Source from the content-addressed store, hash-verified

269 }
270
271 function isSubmenuExpanded(): boolean {
272 const berries = getItem('Berries');
273 return berries?.getAttribute('aria-expanded') === 'true';
274 }
275
276 beforeEach(async () => await setupMenu());
277

Callers 1

menu.spec.tsFile · 0.85

Calls 2

getItemFunction · 0.70
getAttributeMethod · 0.65

Tested by

no test coverage detected