(threshold = this.props.threshold)
| 228 | } |
| 229 | |
| 230 | getStartAndEnd(threshold = this.props.threshold) { |
| 231 | const scroll = this.getScrollPosition(); |
| 232 | const start = Math.max(0, scroll - threshold); |
| 233 | let end = |
| 234 | scroll + this.props.scrollParentViewportSizeGetter(this) + threshold; |
| 235 | if (this.hasDeterminateSize()) { |
| 236 | end = Math.min(end, this.getSpaceBefore(this.props.length)); |
| 237 | } |
| 238 | return { start, end }; |
| 239 | } |
| 240 | |
| 241 | getItemSizeAndItemsPerRow() { |
| 242 | const { axis, useStaticSize } = this.props; |
no test coverage detected