| 37 | providers: [{provide: CdkMenuItem, useExisting: MatMenuBarItem}], |
| 38 | }) |
| 39 | export class MatMenuBarItem extends CdkMenuItem { |
| 40 | override getLabel(): string { |
| 41 | if (this.typeaheadLabel !== undefined) { |
| 42 | return this.typeaheadLabel || ''; |
| 43 | } |
| 44 | const clone = this._elementRef.nativeElement.cloneNode(true) as Element; |
| 45 | removeIcons(clone); |
| 46 | return clone.textContent?.trim() || ''; |
| 47 | } |
| 48 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…