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

Function isFocused

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

Source from the content-addressed store, hash-verified

1444 describe('keyboard navigation', () => {
1445 for (const focusMode of ['roving', 'activedescendant'] as const) {
1446 const isFocused = (value: string) => getFocusedTreeItemValue() === value;
1447
1448 describe(`focusMode="${focusMode}"`, () => {
1449 describe('LTR', () => {

Callers 2

tree.spec.tsFile · 0.70
runNavigationTestsFunction · 0.50

Calls 1

getFocusedTreeItemValueFunction · 0.85

Tested by

no test coverage detected