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.
无论如何,我可以减慢 div 的“拖动速度”吗?当我拖动当前的 div 时,由于某种原因垂直拖动它时,我得到了非常滞后的结果。
放慢速度可能会使它更流畅一些?
这是我的代码用于拖动:
$('#myDiv').bind('mouseover', function () { $(this).draggable({}); });