src/aria/utils/Mouse.js
function connectMouseEvents (scope) {
        var root = (aria.core.Browser.isIE7 || aria.core.Browser.isIE8) ? Aria.$window.document.body : Aria.$window;
        eventUtil.addListener(root, "mousemove", {
            fn : scope._onMouseMove,
            scope : scope
        });
        eventUtil.addListener(root, "mouseup", {
            fn : scope._onMouseUp,
            scope : scope
        });
        eventUtil.addListener(root, "touchmove", {
            fn : scope._onMouseMove,
            scope : scope
        });
        eventUtil.addListener(root, "touchend", {
            fn : scope._onMouseUp,
            scope : scope
        });
    }
function connectMouseEvents (scope) {
        var root = (aria.core.Browser.isIE7 || aria.core.Browser.isIE8) ? Aria.$window.document.body : Aria.$window;
        eventUtil.addListener(root, "mousemove", {
            fn : scope._onMouseMove,
            scope : scope
        });
        eventUtil.addListener(root, "mouseup", {
            fn : scope._onMouseUp,
            scope : scope
        });
        eventUtil.addListener(root, "touchmove", {
            fn : scope._onMouseMove,
            scope : scope
        });
        eventUtil.addListener(root, "touchend", {
            fn : scope._onMouseUp,
            scope : scope
        });
    }
function connectMouseEvents ( scope ) { var root = ( aria . core . Browser . isIE7 || aria . core . Browser . isIE8 ) ? Aria . $window . document . body : Aria . $window ; eventUtil . addListener ( root , "mousemove" , { fn : scope . _onMouseMove , scope : scope } ) ; eventUtil . addListener ( root , "mouseup" , { fn : scope . _onMouseUp , scope : scope } ) ; eventUtil . addListener ( root , "touchmove" , { fn : scope . _onMouseMove , scope : scope } ) ; eventUtil . addListener ( root , "touchend" , { fn : scope . _onMouseUp , scope : scope } ) ; }
Connect delegated mousemove and mouseup events. For performances these are attached only after a mousedown.
@param {aria.utils.Mouse} scope Instance of the listening class
Connect delegated mousemove and mouseup events . For performances these are attached only after a mousedown .