当鼠标放在可放置区域时,如何使jquery droppable aply hoverClass正好?

时间:2014-07-23 11:29:34

标签: jquery jquery-ui jquery-ui-droppable jquery-droppable

当鼠标指针位于可放置区域的中心时,应用悬停类。当鼠标指针穿过边框时,我应该怎么做才能同时应用悬停类。在图像上 1.鼠标已经在可放置区域,但仍未应用悬停类。 2.已应用悬停类但鼠标指针已位于可放置区域的中心。

        `   activeClass: 'ui-state-highlight',
            hoverClass: 'ui-state-hover',
            tolerance: 'pointer',
            accept: '.element',
            greedy: true,
            drop: onLocalDrop`

enter image description here

0 个答案:

没有答案