src/aria/utils/Mouse.js
function (evt) {
                var stopper = Aria.$window.document.body;
                var elementId = findByAttribute(evt.target, this.DRAGGABLE_ATTRIBUTE, this.maxDepth, stopper);
                if (!elementId) {
                    return;
                }

                var candidate = this._idList.drag[elementId];
                this.$assert(211, !!candidate);

                this._candidateForDrag = candidate;
                this._dragStartPosition = {
                    x : evt.clientX,
                    y : evt.clientY
                };
                this._dragStarted = false;

                return true;
            }
function (evt) {
                var stopper = Aria.$window.document.body;
                var elementId = findByAttribute(evt.target, this.DRAGGABLE_ATTRIBUTE, this.maxDepth, stopper);
                if (!elementId) {
                    return;
                }

                var candidate = this._idList.drag[elementId];
                this.$assert(211, !!candidate);

                this._candidateForDrag = candidate;
                this._dragStartPosition = {
                    x : evt.clientX,
                    y : evt.clientY
                };
                this._dragStarted = false;

                return true;
            }
function ( evt ) { var stopper = Aria . $window . document . body ; var elementId = findByAttribute ( evt . target , this . DRAGGABLE_ATTRIBUTE , this . maxDepth , stopper ) ; if ( ! elementId ) { return ; } var candidate = this . _idList . drag [ elementId ] ; this . $assert ( 211 , ! ! candidate ) ; this . _candidateForDrag = candidate ; this . _dragStartPosition = { x : evt . clientX , y : evt . clientY } ; this . _dragStarted = false ; return true ; }
Base function to detect if a drag gesture is happening or not.
@param {aria.DomEvent} evt mouse down event
@private
Base function to detect if a drag gesture is happening or not .