Jquery mouseenter() vs mouseover()

前端 未结 7 2214
梦如初夏
梦如初夏 2020-11-22 07:58

So after reading a recently answered question i am unclear if i really understand the difference between the mouseenter() and mouseover(). The post

7条回答
  •  温柔的废话
    2020-11-22 08:46

    Though they operate the same way, however, the mouseenter event only triggers when the mouse pointer enters the selected element. The mouseover event is triggered if a mouse pointer enters any child elements as well.

提交回复
热议问题