(ev: any)
| 49 | }; |
| 50 | |
| 51 | const handleMouseDown = (ev: any) => { |
| 52 | if (lastTouchEvent > Date.now()) { |
| 53 | return; |
| 54 | } |
| 55 | if (!pointerDown(ev)) { |
| 56 | return; |
| 57 | } |
| 58 | if (!rmMouseMove && pointerMove) { |
| 59 | rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options); |
| 60 | } |
| 61 | if (!rmMouseUp) { |
| 62 | rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options); |
| 63 | } |
| 64 | }; |
| 65 | |
| 66 | const handleTouchEnd = (ev: any) => { |
| 67 | stopTouch(); |
nothing calls this directly
no test coverage detected