function _scrollUpdate(event) {
        if (!this.options.enabled) {
            return;
        }
        var offset = Array.isArray(event.delta) ? event.delta[this._direction] : event.delta;
        this.scroll(offset);
    }
function _scrollUpdate(event) {
        if (!this.options.enabled) {
            return;
        }
        var offset = Array.isArray(event.delta) ? event.delta[this._direction] : event.delta;
        this.scroll(offset);
    }
function _scrollUpdate ( event ) { if ( ! this . options . enabled ) { return ; } var offset = Array . isArray ( event . delta ) ? event . delta [ this . _direction ] : event . delta ; this . scroll ( offset ) ; }
Called whenever the user is scrolling the view using either a mouse
scroll wheel or a track-pad.
Called whenever the user is scrolling the view using either a mouse scroll wheel or a track - pad .