初始化:
ps aux
有两个箭头指示向右和向左拖动:jQuery(...).owlCarousel({
loop: true,
navigation: true,
navigationText: "",
dots: false,
autoWidth: true,
pagination: false
afterMove = function(e) {
// I only want to run something if moving was caused by mouse, not programaticaly
}
});
和.trigger("owl.next");
但是,它们也使afterMove事件触发。如果afterMove是由鼠标拖动引起的,如何通知?