docs: function() {
              var self = this;
              var val = self.input.value;
              if (val == null || val == '' || isNaN(val)) {
                  self.input.value = self.options.min || 0;
                  self.minus.disabled = self.options.min != null;
              } else {
                  var val = parseInt(val);
                  if (self.options.max != null && !isNaN(self.options.max) && val >= parseInt(self.options.max)) {
                      val = self.options.max;
                      self.plus.disabled = true;
                  } else {
                      self.plus.disabled = false;
                  }
                  if (self.options.min != null && !isNaN(self.options.min) && val <= parseInt(self.options.min)) {
                      val = self.options.min;
                      self.minus.disabled = true;
                  } else {
                      self.minus.disabled = false;
                  }
                  self.input.value = val;
              }
          }