javascript - Detect owl carousel drag direction -
i need help. need detect owl carousel dragging direction.
function startcallback(event) { // if drag left $(".owl-item").css("transform", "rotate(-10deg)"); //if drag left $(".owl-item").css("transform", "rotate(10deg)"); } function endcallback(event) { }
i need detect drag direction when start. please help. thank you.
Comments
Post a Comment