src/main/javascript/scroll/floatz.scroll.slider.js
/**
	 * Go forward to next slider item.
	 */
Go forward to next slider item.
Go forward to next slider item .
next() {
		if (this._position < (this._items.length - 1)) {
			_changeScrollPos(this._container, this._scroller, this._scroller.scrollPos() + this._container.width(),
				this._items, this._position, this._position + 1);
			this._position += 1;
			this._handlers.filter(handlerValue => handlerValue[0] === "next")
				.forEach(handlerValue => {
					handlerValue[1](this);
				})
			;
		}
	}
next ( ) { if ( this . _position < ( this . _items . length - 1 ) ) { _changeScrollPos ( this . _container , this . _scroller , this . _scroller . scrollPos ( ) + this . _container . width ( ) , this . _items , this . _position , this . _position + 1 ) ; this . _position += 1 ; this . _handlers . filter ( handlerValue => handlerValue [ 0 ] === "next" ) . forEach ( handlerValue => { handlerValue [ 1 ] ( this ) ; } ) ; } }
Go forward to next slider item.
Go forward to next slider item .
// Execute next handlers