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