src/ng-drag-scroll.js
function handleMouseMove (e) {
                    if(enabled){
                        if (pushed) {
                            if(!axis || axis === 'x') {
                                $element[0].scrollLeft -= (-lastClientX + (lastClientX = e.clientX));
                            }
                            if(!axis || axis === 'y') {
                                $element[0].scrollTop -= (-lastClientY + (lastClientY = e.clientY));
                            }
                        }

                        e.preventDefault();
                    }
                }
function handleMouseMove (e) {
                    if(enabled){
                        if (pushed) {
                            if(!axis || axis === 'x') {
                                $element[0].scrollLeft -= (-lastClientX + (lastClientX = e.clientX));
                            }
                            if(!axis || axis === 'y') {
                                $element[0].scrollTop -= (-lastClientY + (lastClientY = e.clientY));
                            }
                        }

                        e.preventDefault();
                    }
                }
function handleMouseMove ( e ) { if ( enabled ) { if ( pushed ) { if ( ! axis || axis === 'x' ) { $element [ 0 ] . scrollLeft -= ( - lastClientX + ( lastClientX = e . clientX ) ) ; } if ( ! axis || axis === 'y' ) { $element [ 0 ] . scrollTop -= ( - lastClientY + ( lastClientY = e . clientY ) ) ; } } e . preventDefault ( ) ; } }
Handles mousemove event
@param {object} e MouseMove event
Handles mousemove event