CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
event.js29 linesDownload Raw Back to src
1export default function DragEvent(type, {2  sourceEvent,3  subject,4  target,5  identifier,6  active,7  x, y, dx, dy,8  dispatch9}) {10  Object.defineProperties(this, {11    type: {value: type, enumerable: true, configurable: true},12    sourceEvent: {value: sourceEvent, enumerable: true, configurable: true},13    subject: {value: subject, enumerable: true, configurable: true},14    target: {value: target, enumerable: true, configurable: true},15    identifier: {value: identifier, enumerable: true, configurable: true},16    active: {value: active, enumerable: true, configurable: true},17    x: {value: x, enumerable: true, configurable: true},18    y: {value: y, enumerable: true, configurable: true},19    dx: {value: dx, enumerable: true, configurable: true},20    dy: {value: dy, enumerable: true, configurable: true},21    _: {value: dispatch}22  });23}24 25DragEvent.prototype.on = function() {26  var value = this._.on.apply(this._, arguments);27  return value === this._ ? this : value;28};29 
basant307/AI_Governance_Project · CoolFace