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

Method _getHostElement

src/material/menu/menu-item.ts:146–148  ·  view source on GitHub ↗

Returns the host DOM element.

()

Source from the content-addressed store, hash-verified

144
145 /** Returns the host DOM element. */
146 _getHostElement(): HTMLElement {
147 return this._elementRef.nativeElement;
148 }
149
150 /** Prevents the default element actions if it is disabled. */
151 _checkDisabled(event: Event): void {

Callers 6

focusMethod · 0.95
_hasFocusMethod · 0.95
scrollOptionIntoViewFunction · 0.45
_setPositionFunction · 0.45
_resolvePanelMethod · 0.45
_scrollToOptionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected