You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
430 B
18 lines
430 B
1 year ago
|
export default function DragEvent(target, type, subject, id, active, x, y, dx, dy, dispatch) {
|
||
|
this.target = target;
|
||
|
this.type = type;
|
||
|
this.subject = subject;
|
||
|
this.identifier = id;
|
||
|
this.active = active;
|
||
|
this.x = x;
|
||
|
this.y = y;
|
||
|
this.dx = dx;
|
||
|
this.dy = dy;
|
||
|
this._ = dispatch;
|
||
|
}
|
||
|
|
||
|
DragEvent.prototype.on = function() {
|
||
|
var value = this._.on.apply(this._, arguments);
|
||
|
return value === this._ ? this : value;
|
||
|
};
|