문제

I need to append text to a cloned helper object when it's dragged over a droppable object.

Is there a way to trigger a callback on hover over a droppable object?

도움이 되었습니까?

해결책

If I understand correctly, you want something to happen when the draggable is over the droppable?

If so, just use the over event:

$('.iamdroppable').droppable({

over: function() {  
//do something here
},

});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top