()
| 214 | } |
| 215 | |
| 216 | getScrollSize() { |
| 217 | const { scrollParent } = this; |
| 218 | const { body, documentElement } = document; |
| 219 | const key = SCROLL_SIZE_KEYS[this.props.axis]; |
| 220 | return scrollParent === window |
| 221 | ? Math.max(body[key], documentElement[key]) |
| 222 | : scrollParent[key]; |
| 223 | } |
| 224 | |
| 225 | hasDeterminateSize() { |
| 226 | const { itemSizeGetter, type } = this.props; |
no outgoing calls
no test coverage detected