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

Function getSubmenu

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

Source from the content-addressed store, hash-verified

264
265 describe('Expansion', () => {
266 function getSubmenu(): HTMLElement | null {
267 const menus = fixture.debugElement.queryAll(By.directive(Menu));
268 return menus.length > 1 ? (menus[1].nativeElement as HTMLElement) : null;
269 }
270
271 function isSubmenuExpanded(): boolean {
272 const berries = getItem('Berries');

Callers 1

menu.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected