返回值:jQuerymousemove(fn)
概述
在每一個(gè)匹配元素的mousemove事件中綁定一個(gè)處理函數(shù)。
mousemove 事件通過鼠標(biāo)在元素上移動(dòng)來觸發(fā)。事件處理函數(shù)會(huì)被傳遞一個(gè)變量——事件對(duì)象,其.clientX 和 .clientY 屬性代表鼠標(biāo)的坐標(biāo)
參數(shù)
fnFunction
在每一個(gè)匹配元素的mousemove事件中綁定的處理函數(shù)。
datadata?V1.4.3新增
mousemove([Data], fn) 可傳入data供函數(shù)fn處理。