You get a bonus - 1 coin for daily activity. Now you have 1 coin

Which pointer events (Pointer Events) are supported in React? in REACT

Practice



Pointer events provide a unified way of handling all input events. Back in the day we had the mouse and the corresponding event listeners to deal with it, but nowadays we have plenty of devices that do not involve a mouse, such as phones with a touch surface, or styluses. We need to keep in mind that these events will only work in browsers that support the specificationPointer Events .

The following event types are now available in React DOM :

  1. onPointerDown
  2. onPointerMove
  3. onPointerUp
  4. onPointerCancel
  5. onGotPointerCapture
  6. onLostPointerCaptur
  7. onPointerEnter
  8. onPointerLeave
  9. onPointerOver
  10. onPointerOut

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Scripting client side JavaScript, jqvery, BackBone"

Terms: Scripting client side JavaScript, jqvery, BackBone