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

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -