in React JS by
Q:
Mouse Events in React JS

1 Answer

0 votes
by

Event names:

onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit
onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave
onMouseMove onMouseOut onMouseOver onMouseUp

The onMouseEnter and onMouseLeave events propagate from the element being left to the one being entered instead of ordinary bubbling and do not have a capture phase.

Properties:

boolean altKey
number button
number buttons
number clientX
number clientY
boolean ctrlKey
boolean getModifierState(key)
boolean metaKey
number pageX
number pageY
DOMEventTarget relatedTarget
number screenX
number screenY
boolean shiftKey

Related questions

0 votes
0 votes
0 votes
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima
0 votes
0 votes
0 votes
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima
...