MCPcopy Create free account
hub / github.com/idank/explainshell / dragend

Function dragend

explainshell/web/static/js/d3.v3.js:521–530  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

519 });
520 }
521 function dragend() {
522 event_({
523 type: "dragend"
524 });
525 if (moved) {
526 d3_eventCancel();
527 if (d3.event.target === eventTarget) w.on("click.drag", click, true);
528 }
529 w.on(touchId != null ? "touchmove.drag-" + touchId : "mousemove.drag", null).on(touchId != null ? "touchend.drag-" + touchId : "mouseup.drag", null);
530 }
531 function click() {
532 d3_eventCancel();
533 w.on("click.drag", null);

Callers 1

dragmoveFunction · 0.85

Calls 1

d3_eventCancelFunction · 0.85

Tested by

no test coverage detected