function GrabToPan_deactivate() {
      if (this.active) {
        this.active = false;
        this.element.removeEventListener('mousedown', this._onmousedown, true);
        this._endPan();
        this.element.classList.remove(this.CSS_CLASS_GRAB);
        if (this.onActiveChanged) {
          this.onActiveChanged(false);
        }
      }
    }
/**
     * Removes all events. Any pending pan session is immediately stopped.
     */
Removes all events. Any pending pan session is immediately stopped.
Removes all events . Any pending pan session is immediately stopped .
function GrabToPan_deactivate() {
      if (this.active) {
        this.active = false;
        this.element.removeEventListener('mousedown', this._onmousedown, true);
        this._endPan();
        this.element.classList.remove(this.CSS_CLASS_GRAB);
        if (this.onActiveChanged) {
          this.onActiveChanged(false);
        }
      }
    }
function GrabToPan_deactivate ( ) { if ( this . active ) { this . active = false ; this . element . removeEventListener ( 'mousedown' , this . _onmousedown , true ) ; this . _endPan ( ) ; this . element . classList . remove ( this . CSS_CLASS_GRAB ) ; if ( this . onActiveChanged ) { this . onActiveChanged ( false ) ; } } }
Removes all events.
Removes all events .