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

Function ZoomEvent

external/.d3.js:19538–19551  ·  view source on GitHub ↗
(type, {
  sourceEvent,
  target,
  transform,
  dispatch
})

Source from the content-addressed store, hash-verified

19536var constant = x => () => x;
19537
19538function ZoomEvent(type, {
19539 sourceEvent,
19540 target,
19541 transform,
19542 dispatch
19543}) {
19544 Object.defineProperties(this, {
19545 type: {value: type, enumerable: true, configurable: true},
19546 sourceEvent: {value: sourceEvent, enumerable: true, configurable: true},
19547 target: {value: target, enumerable: true, configurable: true},
19548 transform: {value: transform, enumerable: true, configurable: true},
19549 _: {value: dispatch}
19550 });
19551}
19552
19553function Transform(k, x, y) {
19554 this.k = k;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected