MCPcopy
hub / github.com/angular/components / getItem

Function getItem

src/aria/private/toolbar/toolbar.spec.ts:162–164  ·  view source on GitHub ↗
(toolbar: ToolbarPattern<string>, value: string)

Source from the content-addressed store, hash-verified

160
161describe('Toolbar Pattern', () => {
162 function getItem(toolbar: ToolbarPattern<string>, value: string) {
163 return toolbar.inputs.items().find(item => item.value() === value)!;
164 }
165
166 describe('Tabindex', () => {
167 it('should expose tabIndex signals', () => {

Callers 1

toolbar.spec.tsFile · 0.70

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…