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

Function getActiveCellId

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

Source from the content-addressed store, hash-verified

80 };
81
82 function getActiveCellId(): string | null {
83 if (fixture.componentInstance.focusMode() === 'roving') {
84 const activeEl = gridElement.querySelector('[tabindex="0"]');
85 return activeEl ? activeEl.id : null;
86 }
87 return gridElement.getAttribute('aria-activedescendant');
88 }
89
90 async function setupGrid(opts?: {
91 disabled?: boolean;

Callers 1

grid.spec.tsFile · 0.85

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…