MCPcopy Create free account
hub / github.com/breck7/scroll / DragEvent

Function DragEvent

external/.d3.js:2675–2697  ·  view source on GitHub ↗
(type, {
  sourceEvent,
  subject,
  target,
  identifier,
  active,
  x, y, dx, dy,
  dispatch
})

Source from the content-addressed store, hash-verified

2673var constant$9 = x => () => x;
2674
2675function DragEvent(type, {
2676 sourceEvent,
2677 subject,
2678 target,
2679 identifier,
2680 active,
2681 x, y, dx, dy,
2682 dispatch
2683}) {
2684 Object.defineProperties(this, {
2685 type: {value: type, enumerable: true, configurable: true},
2686 sourceEvent: {value: sourceEvent, enumerable: true, configurable: true},
2687 subject: {value: subject, enumerable: true, configurable: true},
2688 target: {value: target, enumerable: true, configurable: true},
2689 identifier: {value: identifier, enumerable: true, configurable: true},
2690 active: {value: active, enumerable: true, configurable: true},
2691 x: {value: x, enumerable: true, configurable: true},
2692 y: {value: y, enumerable: true, configurable: true},
2693 dx: {value: dx, enumerable: true, configurable: true},
2694 dy: {value: dy, enumerable: true, configurable: true},
2695 _: {value: dispatch}
2696 });
2697}
2698
2699DragEvent.prototype.on = function() {
2700 var value = this._.on.apply(this._, arguments);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected