Lines Matching refs:offset
124 this.set(VALUE, this._offsetToValue(e.offset));
130 * thumb offset from the leading edge of the rail multiplied by the
137 * @param offset { Number } X or Y pixel offset
138 * @return { mixed } Value corresponding to the provided pixel offset
141 _offsetToValue: function ( offset ) {
143 var value = round( offset * this._factor ) + this.get( MIN );
145 Y.log("Offset: " + offset + " => Value: " + value, "info", "slider");
150 * Converts a value into a pixel offset for use in positioning
156 * @return { Number } The pixel offset
160 var offset = round( ( value - this.get( MIN ) ) / this._factor );
162 Y.log("Value: " + value + " => Offset: " + offset, "info", "slider");
163 return offset;