stickshift.js
function DOMMouseMoveTracker(
onMove,
    /*function*/ onMoveEnd,
    /*DOMElement*/ domNode) {
    this.$DOMMouseMoveTracker_isDragging = false;
    this.$DOMMouseMoveTracker_animationFrameID = null;
    this.$DOMMouseMoveTracker_domNode = domNode;
    this.$DOMMouseMoveTracker_onMove = onMove;
    this.$DOMMouseMoveTracker_onMoveEnd = onMoveEnd;
    this.$DOMMouseMoveTracker_onMouseMove = this.$DOMMouseMoveTracker_onMouseMove.bind(this);
    this.$DOMMouseMoveTracker_onMouseUp = this.$DOMMouseMoveTracker_onMouseUp.bind(this);
    this.$DOMMouseMoveTracker_didMouseMove = this.$DOMMouseMoveTracker_didMouseMove.bind(this);
  }
function DOMMouseMoveTracker(
onMove,
    /*function*/ onMoveEnd,
    /*DOMElement*/ domNode) {
    this.$DOMMouseMoveTracker_isDragging = false;
    this.$DOMMouseMoveTracker_animationFrameID = null;
    this.$DOMMouseMoveTracker_domNode = domNode;
    this.$DOMMouseMoveTracker_onMove = onMove;
    this.$DOMMouseMoveTracker_onMoveEnd = onMoveEnd;
    this.$DOMMouseMoveTracker_onMouseMove = this.$DOMMouseMoveTracker_onMouseMove.bind(this);
    this.$DOMMouseMoveTracker_onMouseUp = this.$DOMMouseMoveTracker_onMouseUp.bind(this);
    this.$DOMMouseMoveTracker_didMouseMove = this.$DOMMouseMoveTracker_didMouseMove.bind(this);
  }
function DOMMouseMoveTracker ( onMove , /*function*/ onMoveEnd , /*DOMElement*/ domNode ) { this . $DOMMouseMoveTracker_isDragging = false ; this . $DOMMouseMoveTracker_animationFrameID = null ; this . $DOMMouseMoveTracker_domNode = domNode ; this . $DOMMouseMoveTracker_onMove = onMove ; this . $DOMMouseMoveTracker_onMoveEnd = onMoveEnd ; this . $DOMMouseMoveTracker_onMouseMove = this . $DOMMouseMoveTracker_onMouseMove . bind ( this ) ; this . $DOMMouseMoveTracker_onMouseUp = this . $DOMMouseMoveTracker_onMouseUp . bind ( this ) ; this . $DOMMouseMoveTracker_didMouseMove = this . $DOMMouseMoveTracker_didMouseMove . bind ( this ) ; }
onMove is the callback that will be called on every mouse move.
onMoveEnd is called on mouse up when movement has ended.
onMove is the callback that will be called on every mouse move . onMoveEnd is called on mouse up when movement has ended .