Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  7] [ 4]  / answers: 1 / hits: 15139  / 13 Years ago, wed, november 2, 2011, 12:00:00

mouseMove event is for moving on the canvas itself, but I can't detect when the mouse leaves the canvas.



Is there an option to detect when the mouse is moving out of the canvas?


More From » html

 Answers
22

Have you tried mouseout?



element.addEventListener (mouseout, myFunction, false);

[#89334] Monday, October 31, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
shawn

Total Points: 507
Total Questions: 103
Total Answers: 111

Location: American Samoa
Member since Fri, Aug 26, 2022
2 Years ago
;