Angular has a total of 9 mouse events.
1. Click
Click event occurs when the user clicks the click applied element. click event triggers the function attached to the click.
2. dblclick
Triggers when user double-click the dblclick applied element.
3. Mouseover
Triggers when the cursor is over the mouseover applied element (like hover).
4. Mouseenter
Triggers when the mouse pointer is moved onto the mouseenter applied element.
5. Mouseleave
Triggers when the mouse pointer leaves the mouseleave applied element.
6. Mousedown
Triggers when the user presses the mouse button over the mousedown applied element.
7. Mouseup
Triggers when the user releases the mouse button over the mouseup applied element.
8. Drag
Triggers when the user drag the drag applied element.
8. Dragover
Triggers every time an item is dragged over dragover applied element.
Top comments (1)
what about the event arguments such as location of click etc ...