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

Function getAriaSelected

src/material/chips/chip-listbox.spec.ts:529–530  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

527
528 it('should set `aria-selected` based on the selection state in single selection mode', () => {
529 const getAriaSelected = () =>
530 Array.from(primaryActions).map(action => action.getAttribute('aria-selected'));
531
532 fixture = createComponent(BasicChipListbox);
533 // Use a shorter list so we can keep the assertions smaller

Callers 1

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected