(overlayContainer: OverlayContainer)
| 16 | import {DebugElement, getDebugNode} from '@angular/core'; |
| 17 | |
| 18 | export function getAutocompleteOptions(overlayContainer: OverlayContainer) { |
| 19 | const options = overlayContainer |
| 20 | .getContainerElement() |
| 21 | .querySelectorAll('mat-option'); |
| 22 | return Array.from(options).map( |
| 23 | (optionEl: Element): DebugElement => getDebugNode(optionEl) as DebugElement |
| 24 | ); |
| 25 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…