I needed to do the same but only for next/prev click (i don't use dragging). Since I didn't find any proper way to get the move direction, I overrided the click function to add an informative class :
$(".owl-next").click(function(){
$('.owl-carousel').addClass('move-next');
})
$(".owl-prev").click(function(){
$('.owl-carousel').addClass('move-prev');
})
Then in the afterMove function :
afterMove: function() {
if( $('.owl-carousel').hasClass('move-next') ) {
// Click next: your code
$('.owl-carousel').removeClass('move-next');
} else if ( $('.owl-carousel').hasClass('move-prev') ) {
// Click prev: your code
$('.owl-carousel').removeClass('move-prev');
}
}
May not be the best way to do it, but at least I can get what I want.