code: function () {
          var dom = this.domElement;
  
          vendor.removeEventListener(dom, 'touchstart', this._mouseDownHandler);
          vendor.removeEventListener(dom, 'touchmove', this._mouseMoveHandler);
          vendor.removeEventListener(dom, 'touchend', this._mouseUpHandler);
  
          vendor.removeEventListener(dom, 'mousedown', this._mouseDownHandler);
          vendor.removeEventListener(dom, 'mousemove', this._mouseMoveHandler);
          vendor.removeEventListener(dom, 'mouseup', this._mouseUpHandler);
          vendor.removeEventListener(dom, 'wheel', this._mouseWheelHandler);
          vendor.removeEventListener(dom, 'mouseout', this._mouseUpHandler);
  
          if (this.timeline) {
              this.timeline.off('frame', this.update);
          }
          this.stopAllAnimation();
      }
docs: Dispose.
  Mouse event unbinding