Home
My Highlights
Discover
Sign up
Moving the mouse: mouseover/out, mouseenter/leave
javascript.info
This property complements target When a mouse leaves one element for another, one of them becomes target, and the other one – relatedTarget That’s normal and just means that the mouse came not from another element, but from out of the window. Or that it left the window The browser checks the mouse p
1 Users
0 Comments
18 Highlights
0 Notes
Top Highlights
This property complements target
When a mouse leaves one element for another, one of them becomes target, and the other one – relatedTarget
That’s normal and just means that the mouse came not from another element, but from out of the window. Or that it left the window
The browser checks the mouse position from time to time. And if it notices changes then triggers the events
if the visitor is moving the mouse very fast then some DOM-elements may be skipped
Tags
JavaScript-Events
Domain
javascript.info
Ready to highlight and find good content?
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.
Start Highlighting