File tree 1 file changed +8
-1
lines changed
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');
314
314
$ .fn .multiscroll .moveTo (3 );
315
315
```
316
316
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
+
317
324
### setKeyboardScrolling
318
325
Adds or remove the possibility of scrolling through sections by using the keyboard arrow keys (which is active by default).
319
326
@@ -387,7 +394,7 @@ Example:
387
394
388
395
``` javascript
389
396
$ (' #multiscroll' ).multiscroll ({
390
- onLeave : function (index , direction ){
397
+ onLeave : function (index , nextIndex , direction ){
391
398
// after leaving section 2
392
399
if (index == ' 2' && direction == ' down' ){
393
400
alert (" Going to section 3!" );
You can’t perform that action at this time.
0 commit comments