MCPcopy Create free account
hub / github.com/caseywebdev/react-list / updateFrame

Method updateFrame

src/react-list.js:287–298  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

285 }
286
287 updateFrame(cb) {
288 this.updateScrollParent();
289 if (typeof cb !== 'function') cb = NOOP;
290 switch (this.props.type) {
291 case 'simple':
292 return this.updateSimpleFrame(cb);
293 case 'variable':
294 return this.updateVariableFrame(cb);
295 case 'uniform':
296 return this.updateUniformFrame(cb);
297 }
298 }
299
300 updateScrollParent() {
301 const prev = this.scrollParent;

Callers 5

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95
react-list.jsFile · 0.80
index.jsFile · 0.80

Calls 4

updateScrollParentMethod · 0.95
updateSimpleFrameMethod · 0.95
updateVariableFrameMethod · 0.95
updateUniformFrameMethod · 0.95

Tested by

no test coverage detected