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

Function createGridData

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

Source from the content-addressed store, hash-verified

40}
41
42function createGridData(): RowConfig[] {
43 return Array.from({length: 3}, (_, rIndex) => ({
44 cells: Array.from({length: 3}, (_, cIndex) => ({
45 id: `c${rIndex}-${cIndex}`,
46 })),
47 }));
48}
49
50describe('Grid directives', () => {
51 let fixture: ComponentFixture<GridTestComponent>;

Callers 3

setupGridFunction · 0.70
grid.spec.tsFile · 0.70
GridTestComponentClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…