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

Function if

source/Masonry/Masonry.example.js:212–221  ·  view source on GitHub ↗
(typeof this._cellPositioner === 'undefined')

Source from the content-addressed store, hash-verified

210
211 _initCellPositioner() {
212 if (typeof this._cellPositioner === 'undefined') {
213 const {columnWidth, gutterSize} = this.state;
214
215 this._cellPositioner = createCellPositioner({
216 cellMeasurerCache: this._cache,
217 columnCount: this._columnCount,
218 columnWidth,
219 spacer: gutterSize,
220 });
221 }
222 }
223
224 _onResize({width}) {

Callers

nothing calls this directly

Calls 1

createCellPositionerFunction · 0.70

Tested by

no test coverage detected