src/aria/utils/Mouse.js
function (gesture, id) {
                if (this._idList[gesture]) {
                    var element = this._idList[gesture][id];
                    if (gesture == "drag" && element && element == this._activeDrag) {
                        // the element being dragged has been disposed,
                        // terminate the drag:
                        this._dragStartPosition = null;
                        disconnectMouseEvents(this);
                        this._candidateForDrag = null;
                        this._activeDrag = null;
                    }
                    delete this._idList[gesture][id];
                }
            }
function (gesture, id) {
                if (this._idList[gesture]) {
                    var element = this._idList[gesture][id];
                    if (gesture == "drag" && element && element == this._activeDrag) {
                        // the element being dragged has been disposed,
                        // terminate the drag:
                        this._dragStartPosition = null;
                        disconnectMouseEvents(this);
                        this._candidateForDrag = null;
                        this._activeDrag = null;
                    }
                    delete this._idList[gesture][id];
                }
            }
function ( gesture , id ) { if ( this . _idList [ gesture ] ) { var element = this . _idList [ gesture ] [ id ] ; if ( gesture == "drag" && element && element == this . _activeDrag ) { // the element being dragged has been disposed, // terminate the drag: this . _dragStartPosition = null ; disconnectMouseEvents ( this ) ; this . _candidateForDrag = null ; this . _activeDrag = null ; } delete this . _idList [ gesture ] [ id ] ; } }
Remove a listener for a mouse action or gesture.
@param {String} gesture mouse action or gesture
@param {String} id id of the listening instance
Remove a listener for a mouse action or gesture .