(e)
| 254 | // Supports touch events, but not multitouch, so only the first |
| 255 | // finger `touches[0]` is counted. |
| 256 | function getMousePosition(e) { |
| 257 | if ('touches' in e) { return e.touches[0][clientAxis] } |
| 258 | return e[clientAxis] |
| 259 | } |
| 260 | |
| 261 | // Actually adjust the size of elements `a` and `b` to `offset` while dragging. |
| 262 | // calc is used to allow calc(percentage + gutterpx) on the whole split instance, |
no outgoing calls
no test coverage detected