Languages
[Edit]
EN

JavaScript - mouse events

0 points
Created by:
Giles-Whittaker
739

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

Alternative titles

  1. JavaScript - order of mouse events
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
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