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

Method _getTabIndex

src/material/button/button-base.ts:216–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214 }
215
216 protected _getTabIndex() {
217 if (this._isAnchor) {
218 return this.disabled && !this.disabledInteractive ? -1 : this.tabIndex;
219 }
220 return this.tabIndex;
221 }
222
223 private _setupAsAnchor() {
224 this._cleanupClick = this._ngZone.runOutsideAngular(() =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected