Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当将文本拖到可放置对象上时,我需要将文本附加到克隆的帮助对象。
有没有办法在悬停在可放置对象上时触发回调?
如果我理解正确,您希望在可拖动对象超过可放置对象时发生一些事情?
如果是这样,只需使用 over 事件:
$('.iamdroppable').droppable({ over: function() { //do something here }, });