Lines Matching refs:offset
122 this.set(VALUE, this._offsetToValue(e.offset));
128 * thumb offset from the leading edge of the rail multiplied by the
135 * @param offset { Number } X or Y pixel offset
136 * @return { mixed } Value corresponding to the provided pixel offset
139 _offsetToValue: function ( offset ) {
141 var value = round( offset * this._factor ) + this.get( MIN );
143 Y.log("Offset: " + offset + " => Value: " + value, "info", "slider");
148 * Converts a value into a pixel offset for use in positioning
154 * @return { Number } The pixel offset
158 var offset = round( ( value - this.get( MIN ) ) / this._factor );
160 Y.log("Value: " + value + " => Offset: " + offset, "info", "slider");
161 return offset;