mouseenter与mouseover的区别

不论鼠标指针穿过被选元素或其子元素,都会触发 mouseover 事件。对应mouseout 只有在鼠标指针穿过被选元素时,才会触发 mouseenter 事件。对应mouseleave demo演示 效果如图:
相关文章
相关标签/搜索