File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,13 @@ $.fn.multiscroll.moveTo('firstSection');
314314$ .fn .multiscroll .moveTo (3 );
315315```
316316
317+ ### setMouseWheelScrolling
318+ Adds or remove the possibility of scrolling through sections by using mouse wheel (which is active by default).
319+
320+ ``` javascript
321+ $ .fn .multiscroll .setMouseWheelScrolling (false );
322+ ```
323+
317324### setKeyboardScrolling
318325Adds or remove the possibility of scrolling through sections by using the keyboard arrow keys (which is active by default).
319326
@@ -387,7 +394,7 @@ Example:
387394
388395``` javascript
389396 $ (' #multiscroll' ).multiscroll ({
390- onLeave : function (index , direction ){
397+ onLeave : function (index , nextIndex , direction ){
391398 // after leaving section 2
392399 if (index == ' 2' && direction == ' down' ){
393400 alert (" Going to section 3!" );
You can’t perform that action at this time.
0 commit comments