MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / reset

Function reset

lib/components/Masonry/createCellPositioner.ts:51–57  ·  view source on GitHub ↗
(params: CellPositionerResetParams)

Source from the content-addressed store, hash-verified

49 }
50
51 function reset(params: CellPositionerResetParams): void {
52 columnCount = params.columnCount;
53 columnWidth = params.columnWidth;
54 spacer = params.spacer ?? 0;
55
56 initOrResetDerivedValues();
57 }
58
59 cellPositioner.reset = reset;
60

Callers

nothing calls this directly

Calls 1

initOrResetDerivedValuesFunction · 0.85

Tested by

no test coverage detected