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

Function getItemsText

src/cdk/menu/menu.spec.ts:511–512  ·  view source on GitHub ↗
(menu: CdkMenu)

Source from the content-addressed store, hash-verified

509
510 it('should not pick up items from nested menu', () => {
511 const getItemsText = (menu: CdkMenu) =>
512 menu.items.map(i => i._elementRef.nativeElement.textContent?.trim());
513 const fixture = TestBed.createComponent(NestedMenuDefinition);
514 fixture.detectChanges();
515

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…