jquery mouseenter() method
Translation results:
mouse
English [maʊs] American [maʊs]
n. Mouse; mouse; shy [timid] person; [informal term] eye bruises on the head
vi.Catch mice; spy, secretly search
enter
## English[ˈentə(r)] US[ˈɛntɚ] vt.& vi. Enter; participate; start; registerjquery mouseenter() methodsyntax
Function:When the mouse pointer passes through an element, the mouseenter event occurs. This event is most often used in conjunction with the mouseleave event. The mouseenter() method triggers the mouseenter event, or specifies a function to run when the mouseenter event occurs. Unlike the mouseover event, the mouseenter event is only triggered when the mouse pointer passes through the selected element. If the mouse pointer passes through any child element, the mouseover event will also be triggered. See the example below for a demonstration.
Trigger mouseenter event syntax: $(selector).mouseenter()
Bind the function to mouseenter Event syntax: $(selector).mouseenter(function
Parameters:
Description | |
Optional. Specifies the function to run when the mouseenter event occurs. |