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

Method _getHostElement

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

Returns the host DOM element.

()

Source from the content-addressed store, hash-verified

119
120 /** Returns the host DOM element. */
121 _getHostElement(): HTMLElement {
122 return this._elementRef.nativeElement;
123 }
124
125 /** Prevents the default element actions if it is disabled. */
126 _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