()
| 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); |
no test coverage detected