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

Function tabIntoGrid

src/aria/grid/grid.spec.ts:77–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 const space = async (modifierKeys?: ModifierKeys) => await keydown(' ', modifierKeys);
76
77 const tabIntoGrid = async () => {
78 const focusableElement = gridElement.querySelector('[tabindex="0"]') as HTMLElement;
79 focusableElement?.focus();
80 await fixture.whenStable();
81 };
82
83 function getActiveCellId(): string | null {
84 if (fixture.componentInstance.focusMode() === 'roving') {

Callers 1

grid.spec.tsFile · 0.85

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected