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

Method _getTabIndex

src/material/core/option/option.ts:255–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253 // That's because `MatLegacyOption` use `MatOption` type in a few places such as
254 // `MatOptionSelectionChange`. It is safe to delete this when `MatLegacyOption` is deleted.
255 _getTabIndex(): string {
256 return this.disabled ? '-1' : '0';
257 }
258
259 /** Gets the host DOM element. */
260 _getHostElement(): HTMLElement {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected