()
| 416 | } |
| 417 | |
| 418 | cacheSizes() { |
| 419 | const { cache } = this; |
| 420 | const { from } = this.state; |
| 421 | const itemEls = this.items.children; |
| 422 | const sizeKey = OFFSET_SIZE_KEYS[this.props.axis]; |
| 423 | for (let i = 0, l = itemEls.length; i < l; ++i) { |
| 424 | cache[from + i] = itemEls[i][sizeKey]; |
| 425 | } |
| 426 | } |
| 427 | |
| 428 | getSizeOfItem(index) { |
| 429 | const { cache, items } = this; |
no outgoing calls
no test coverage detected