({ originalEvent })
| 45 | |
| 46 | AutoScroll.prototype = { |
| 47 | dragStarted({ originalEvent }) { |
| 48 | if (this.sortable.nativeDraggable) { |
| 49 | on(document, 'dragover', this._handleAutoScroll); |
| 50 | } else { |
| 51 | if (this.options.supportPointer) { |
| 52 | on(document, 'pointermove', this._handleFallbackAutoScroll); |
| 53 | } else if (originalEvent.touches) { |
| 54 | on(document, 'touchmove', this._handleFallbackAutoScroll); |
| 55 | } else { |
| 56 | on(document, 'mousemove', this._handleFallbackAutoScroll); |
| 57 | } |
| 58 | } |
| 59 | }, |
| 60 | |
| 61 | dragOverCompleted({ originalEvent }) { |
| 62 | // For when bubbling is canceled and using fallback (fallback 'touchmove' always reached) |
nothing calls this directly
no test coverage detected
searching dependent graphs…