Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nzbin committed Dec 8, 2018
1 parent 5b07fec commit 293fa5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@ $("[data-magnify=gallery]").magnify({
},
beforeChange: function(index){
// Will fire before image is changed
// The arguments is the index of image group
// The arguments is the current image index of image group
},
changed: function(index){
// Will fire after image is changed
// The arguments is the index of image group
// The arguments is the next image index of image group
}
}
});
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -870,11 +870,11 @@ <h2 class="b-b-1 p-b-10 p-t-10 m-t-30" id="Events">Events</h2>
},
beforeChange: function(index){
// Will fire before image is changed
// The arguments is the index of image group
// The arguments is the current image index of image group
},
changed: function(index){
// Will fire after image is changed
// The arguments is the index of image group
// The arguments is the next image index of image group
}
}
});
Expand Down

0 comments on commit 293fa5a

Please sign in to comment.