src/main/javascript/scroll/floatz.scroll.slider.js
/**
	 * Get / set slider position
	 * @param {number=} position Optional position
	 * @returns {number|Slider} Position or slider for chaining if used as setter
	 */
Get / set slider position
@param {number=} position Optional position
@returns {number|Slider} Position or slider for chaining if used as setter
Get / set slider position @param { number = } position Optional position @returns { number|Slider } Position or slider for chaining if used as setter
pos(position) {
		if (position) {
			if (position >= 0 && position <= (this._items.length - 1)) {
				this._scroller.scrollPos(position * this._container.width());
				this._position = position;
				_adjustItemHeight(this._container, this._items[this._position]);
			}
			return this;
		} else {
			return this._position;
		}
	}
pos ( position ) { if ( position ) { if ( position >= 0 && position <= ( this . _items . length - 1 ) ) { this . _scroller . scrollPos ( position * this . _container . width ( ) ) ; this . _position = position ; _adjustItemHeight ( this . _container , this . _items [ this . _position ] ) ; } return this ; } else { return this . _position ; } }
Get / set slider position
 @param {number=} position Optional position
 @returns {number|Slider} Position or slider for chaining if used as setter
Get / set slider position @param { number = } position Optional position @returns { number|Slider } Position or slider for chaining if used as setter