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

Method _getHostElement

src/material/core/option/option.ts:260–262  ·  view source on GitHub ↗

Gets the host DOM element.

()

Source from the content-addressed store, hash-verified

258
259 /** Gets the host DOM element. */
260 _getHostElement(): HTMLElement {
261 return this._element.nativeElement;
262 }
263
264 ngAfterViewChecked() {
265 // Since parent components could be using the option's label to display the selected values

Callers 1

focusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected