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

Function transformTabIndex

src/material/button/button-base.ts:48–50  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

46export const MAT_BUTTON_CONFIG = new InjectionToken<MatButtonConfig>('MAT_BUTTON_CONFIG');
47
48function transformTabIndex(value: unknown): number | undefined {
49 return value == null ? undefined : numberAttribute(value);
50}
51
52/** Base class for all buttons. */
53@Directive({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected