MCPcopy Index your code
hub / github.com/angular/components / getSubmenu

Function getSubmenu

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

Source from the content-addressed store, hash-verified

243
244 describe('Expansion', () => {
245 function getSubmenu(): HTMLElement | null {
246 const menus = fixture.debugElement.queryAll(By.directive(Menu));
247 return menus.length > 1 ? (menus[1].nativeElement as HTMLElement) : null;
248 }
249
250 function isSubmenuExpanded(): boolean {
251 const berries = getItem('Berries');

Callers 1

menu.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…