Spaces:
Paused
Paused
Download node_modules/@plotly/d3/src/event/touch.js from Leon4gr45/UserSyncFrontend: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/event/touch.js
- Command line
-
hf download hf://spaces/Leon4gr45/UserSyncFrontend/node_modules/@plotly/d3/src/event/touch.js
-
curl -L -o touch.js https://huggingface.co/spaces/Leon4gr45/UserSyncFrontend/resolve/main/node_modules/%40plotly/d3/src/event/touch.js
369 Bytes
| import "event"; | |
| import "mouse"; | |
| d3.touch = function(container, touches, identifier) { | |
| if (arguments.length < 3) identifier = touches, touches = d3_eventSource().changedTouches; | |
| if (touches) for (var i = 0, n = touches.length, touch; i < n; ++i) { | |
| if ((touch = touches[i]).identifier === identifier) { | |
| return d3_mousePoint(container, touch); | |
| } | |
| } | |
| }; | |