MCPcopy
hub / github.com/bvaughn/react-virtualized / getMaxElementSize

Function getMaxElementSize

source/Grid/utils/maxElementSize.js:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8const isChrome = () => !!window.chrome;
9
10export const getMaxElementSize = (): number => {
11 if (isBrowser()) {
12 if (isChrome()) {
13 return CHROME_MAX_ELEMENT_SIZE;
14 }
15 }
16 return DEFAULT_MAX_ELEMENT_SIZE;
17};

Callers 2

Grid.jest.jsFile · 0.90
constructorMethod · 0.90

Calls 2

isBrowserFunction · 0.85
isChromeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…