lib/index.js
function setupMouseEvent(properties) {
  var event = document.createEvent('MouseEvents');
  event.initMouseEvent(properties.type, properties.canBubble, properties.cancelable, properties.view, properties.detail, properties.screenX, properties.screenY, properties.clientX, properties.clientY, properties.ctrlKey, properties.altKey, properties.shiftKey, properties.metaKey, properties.button, properties.relatedTarget);
  return event;
}
function setupMouseEvent(properties) {
  var event = document.createEvent('MouseEvents');
  event.initMouseEvent(properties.type, properties.canBubble, properties.cancelable, properties.view, properties.detail, properties.screenX, properties.screenY, properties.clientX, properties.clientY, properties.ctrlKey, properties.altKey, properties.shiftKey, properties.metaKey, properties.button, properties.relatedTarget);
  return event;
}
function setupMouseEvent ( properties ) { var event = document . createEvent ( 'MouseEvents' ) ; event . initMouseEvent ( properties . type , properties . canBubble , properties . cancelable , properties . view , properties . detail , properties . screenX , properties . screenY , properties . clientX , properties . clientY , properties . ctrlKey , properties . altKey , properties . shiftKey , properties . metaKey , properties . button , properties . relatedTarget ) ; return event ; }
Constructs mouse event object
@param {Object} properties
@returns {Event}
@private
Constructs mouse event object