回答編集履歴
1
公式ドキュメント追加
answer
CHANGED
@@ -3,4 +3,6 @@
|
|
3
3
|
いいえ。マウスオーバーが始まるときと終わるときの両方で呼ばれます。
|
4
4
|
|
5
5
|
質問者さんが想定した動作は `hover(function() {...}, null)`
|
6
|
-
や `mouseenter(function() {...})` です。
|
6
|
+
や `mouseenter(function() {...})` です。
|
7
|
+
|
8
|
+
[公式の hover のドキュメント](https://api.jquery.com/hover/)には引数について「A function to execute when the mouse pointer enters or leaves the element.」と書かれています。
|