MCPcopy Create free account
hub / github.com/Noumena-Network/code / zeroStats

Function zeroStats

src/hooks/virtualScrollStats.ts:34–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34function zeroStats(): VirtualScrollStatsSnapshot {
35 return {
36 samples: 0,
37 maxItemCount: 0,
38 maxMountedCount: 0,
39 maxMeasuredMountedCount: 0,
40 maxUnmeasuredMountedCount: 0,
41 maxHeightCacheSize: 0,
42 maxMountedRefCount: 0,
43 maxViewportHeight: 0,
44 maxScrollTop: 0,
45 maxTopSpacer: 0,
46 maxBottomSpacer: 0,
47 maxTotalHeight: 0,
48 stickySamples: 0,
49 clampEnabledSamples: 0,
50 }
51}
52
53let stats = zeroStats()
54

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected