code: function (e) {
              if (this._isReadOnly) return;
              var $target = $(e.target);
  
              if ($target.hasClass("rs-handle")) {
                  this._handleDown(e);
              }
              else {
                  var point = this._getXY(e), center = this._getCenterPoint();
                  var distance = this._getDistance(point, center);
                  var outerDistance = this.block.outerWidth() / 2;
                  var innerDistance = outerDistance - (this.options.width + this._border());
  
                  if (distance >= innerDistance && distance <= outerDistance) {
                      e.preventDefault();
                      var handle = this.control.find(".rs-handle.rs-focus"), angle, value;
                      this.control.attr("tabindex", "0").focus().removeAttr("tabindex");
                      
                      var d = this._getAngleValue(point, center);
                      angle = d.angle, value = d.value;
  
                      if (this._rangeSlider) {
                          handle = this.control.find(".rs-handle.rs-focus");
                          if (handle.length == 1) this._active = parseFloat(handle.attr("index"));
                          else this._active = (this._handle2.value - value) < (value - this._handle1.value) ? 2 : 1;
                          this.bar = this._activeHandleBar();
                      }
  
                      this._changeSliderValue(value, angle);
                      this._raiseEvent("change");
                  }
              }
          }
docs: Events handlers