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

Function isFocused

src/aria/tree/tree.spec.ts:1384–1384  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1382 describe('keyboard navigation', () => {
1383 for (const focusMode of ['roving', 'activedescendant'] as const) {
1384 const isFocused = (value: string) => getFocusedTreeItemValue() === value;
1385
1386 describe(`focusMode="${focusMode}"`, () => {
1387 describe('LTR', () => {

Callers 2

tree.spec.tsFile · 0.70
runNavigationTestsFunction · 0.50

Calls 1

getFocusedTreeItemValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…