We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 086ee6d commit 0c78b0dCopy full SHA for 0c78b0d
jquery.touchslider.js
@@ -29,7 +29,8 @@ http://touchslider.com
29
pagination: "." + namespace + "-nav-item",
30
currentClass: namespace + "-nav-item-current",
31
duration: 350,
32
- mouseTouch: true
+ mouseTouch: true,
33
+ callback: function() {}
34
// [container, scroller]
35
}, options);
36
@@ -399,6 +400,7 @@ http://touchslider.com
399
400
function changedView(index) {
401
pagination.removeClass(options.currentClass)
402
.eq(index).addClass(options.currentClass);
403
+ options.callback.call(this, index);
404
}
405
406
// set item or next
0 commit comments