tft每日頭條

 > 知識

 > hover的用法

hover的用法

知識 更新时间:2024-08-04 08:10:32

  語法$(selector).hover(inFunction,outFunction)注意:如果隻規定了一個函數,則它将會在mouseenter和mouseleave事件上運行。其中hover()方法規定當鼠标指針懸停在被選元素上時要運行的兩個函數。并且規定形式:“$(selector).on("mouseentermouseleave",handlerInOut);”

更多精彩资讯请关注tft每日頭條,我们将持续为您更新最新资讯!

查看全部

相关知識资讯推荐

热门知識资讯推荐

网友关注

Copyright 2023-2024 - www.tftnews.com All Rights Reserved