Skip to content
Permalink
Browse files

Documentation: fixed missing param in onLeave callback ##117

  • Loading branch information
alvarotrigo committed Sep 11, 2019
1 parent 74c8ffc commit dc6dde2621494d75e0d0c272647840a05348d2f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
@@ -365,7 +365,7 @@ Example:

```javascript
$('#multiscroll').multiscroll({
onLeave: function(index, direction){
onLeave: function(index, nextIndex, direction){
//after leaving section 2
if(index == '2' && direction =='down'){
alert("Going to section 3!");

0 comments on commit dc6dde2

Please sign in to comment.
You can’t perform that action at this time.