MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / getAutocompleteOptions

Function getAutocompleteOptions

tensorboard/webapp/testing/material.ts:18–25  ·  view source on GitHub ↗
(overlayContainer: OverlayContainer)

Source from the content-addressed store, hash-verified

16import {DebugElement, getDebugNode} from '@angular/core';
17
18export 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}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…