Languages
[Edit]
EN

JavaScript - mouse events

0 points
Created by:
Giles-Whittaker
349

In this article, we would like to list mouse events in the order of occurrence in JavaScript.

 

Mouse events in the order of occurrence for the left/middle mouse button:

  1. mousedown
  2. mouseup
  3. click

Mouse events in the order of occurrence for the right mouse button:

  1. mousedown
  2. mouseup
  3. contextmenu (works only in Firefox)

Other mouse events:

  1. mouseenter
  2. mouseleave
  3. mousemove
  4. mouseover
  5. mouseout
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join