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

Method _resetTabIndex

src/cdk/menu/menu-item.ts:164–168  ·  view source on GitHub ↗

Reset the tabindex to -1.

()

Source from the content-addressed store, hash-verified

162
163 /** Reset the tabindex to -1. */
164 _resetTabIndex() {
165 if (!this._isStandaloneItem()) {
166 this._tabindex = -1;
167 }
168 }
169
170 /**
171 * Set the tab index to 0 if not disabled and it's a focus event, or a mouse enter if this element

Callers

nothing calls this directly

Calls 1

_isStandaloneItemMethod · 0.95

Tested by

no test coverage detected