(el)
| 167 | } |
| 168 | |
| 169 | getOffset(el) { |
| 170 | const { axis } = this.props; |
| 171 | let offset = el[CLIENT_START_KEYS[axis]] || 0; |
| 172 | const offsetKey = OFFSET_START_KEYS[axis]; |
| 173 | do offset += el[offsetKey] || 0; |
| 174 | while ((el = el.offsetParent)); |
| 175 | return offset; |
| 176 | } |
| 177 | |
| 178 | getEl() { |
| 179 | return this.el || this.items; |
no outgoing calls
no test coverage detected