Use Long Press Versions Save

React hook for detecting click (or tap) and hold event

v1.1.1

2 years ago

Fix

  • Browsers inconsistency in supporting TouchEvent 83fe4af

v1.1.0

2 years ago

Feature

  • Add support for triggering cancel on Mouse / Touch move 7220456
  • Add onMove callback and clean up handling passed callbacks cea3bcf
  • Add link to npm and licence badge a8661c9
  • Add documentation on cancelOnMovement and onMove props 81d7f12

Chore

  • Clean up and adjust tsconfig.json to newest tools and libs cd009c9
  • Change prettier config values 15a1781
  • Reformat TestComponent.tsx using new prettier config df8c3a7
  • Remove unnecessary test helper method db34465
  • Update travis build policy c87bd78
  • Remove travis branch restrictions 13a7439
  • Restore travis branch restrictions 39e985f
  • Drop support for node 10 and add for node 16 2e70356
  • Update travis badge 36cf97f

Refactor

  • Split mockEvent helper to two separate functions for Touch and Mouse events e41d215

Fix

  • Builds using microbundle 3ab0aa1
  • Jest tests environment 055e9ff