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

Function getTabIndexes

src/material/radio/radio.spec.ts:457–459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

455
456 it('should set the input tabindex based on the selected radio button', () => {
457 const getTabIndexes = () => {
458 return radioInputElements.map(element => parseInt(element.getAttribute('tabindex') || ''));
459 };
460
461 expect(getTabIndexes()).toEqual([0, 0, 0]);
462

Callers 1

radio.spec.tsFile · 0.85

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected