Lines Matching refs:value
35 this.value = 0; // assure backwards compat
107 getNearestValue: function(value){ argument
109 if(value >= this.allowedValues.max()) return(this.allowedValues.max());
110 if(value <= this.allowedValues.min()) return(this.allowedValues.min());
112 var offset = Math.abs(this.allowedValues[0] - value);
115 var currentOffset = Math.abs(v - value);
123 if(value > this.range.end) return this.range.end;
124 if(value < this.range.start) return this.range.start;
125 return value;
142 this.value = this.values[0]; // assure backwards compat
154 translateToPx: function(value) { argument
157 (value - this.range.start)) + "px";
187 $R(0, this.values.length>1 ? this.getRange(0).min() : this.value ));
190 … $R(this.values.length>1 ? this.getRange(this.spans.length-1).max() : this.value, this.maximum));
258 this.options.onSlide(this.values.length>1 ? this.values : this.value, this);
275 this.options.onChange(this.values.length>1 ? this.values : this.value, this);