There is a lot of mouse events available in JavaScript. All events have different tasks. Here is a list of all mouse events in JS.
- Click – click event of js which work when mouse clicked on the mentioned area. the event name as –
'click'
- Doubleclick – Its work on double click on the mouse. the event named as
'dblclick'
- Mouse Down: when click on a particular element and stay a few second then its works. names as
'mousedown'
- Mouse up: after clicking on particular event and when mouse remove from it than it works. it named as :
'mouseup'
- Mouse Enter: it named as
'mouseenter'
. - Mouse Leave: its names as
'mouseleave'
. - Mouseover: its name as
'mouseover'
. - Mouse Out: its name as
'mouseout'
. - Mouse Move: when you move on mouse its work on that time. its name as
'mousemove'
.
Like!! Thank you for publishing this awesome article.