React hook for handling swipe gestures on touch devices and mouse interactions with comprehensive directional callbacks and customizable sensitivity settings
90
Evaluation — 90%
↑ 1.00xAgent success when using this tile
Tap detection (onTap)
useSwipeable hook usage
100%
100%
onTap callback implementation
100%
100%
onSwipedLeft callback
100%
100%
onSwipedRight callback
100%
100%
Handler spreading
0%
100%
Gesture separation
50%
100%
Basic swipe detection (left, right, up, down)
useSwipeable Hook Usage
100%
100%
Left Swipe Handler
100%
100%
Right Swipe Handler
100%
100%
Up Swipe Handler
100%
100%
Down Swipe Handler
100%
100%
Handler Attachment
100%
100%
Rotation angle support (coordinate system transformation)
useSwipeable hook usage
100%
100%
rotationAngle configuration
100%
100%
Directional callbacks
100%
100%
Handler attachment
100%
100%
trackMouse configuration
100%
100%
Direction-specific delta thresholds (per-direction sensitivity)
useSwipeable hook usage
100%
100%
Delta object configuration
100%
100%
Correct threshold values
100%
100%
Direction callbacks
100%
100%
Handler attachment
100%
100%
First event tracking
useSwipeable hook usage
100%
100%
onSwiping callback
100%
100%
first property detection
0%
100%
deltaX and deltaY
100%
100%
initial position tracking
80%
100%
onSwiped callback
100%
100%
Swipe lifecycle callbacks (onSwipeStart, onSwiping, onSwiped)
useSwipeable hook usage
0%
0%
onSwipeStart callback
100%
20%
onSwiping callback
100%
33%
onSwiped callback
100%
20%
Handler attachment
100%
0%
Scroll prevention (preventScrollOnSwipe)
useSwipeable hook usage
100%
100%
preventScrollOnSwipe enabled
100%
100%
onSwipedLeft callback
100%
100%
onSwipedRight callback
100%
100%
trackMouse enabled
100%
100%
Handler spreading
100%
100%
Directional swipe callbacks (onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onSwiped)
useSwipeable Hook Usage
100%
100%
onSwipedLeft Callback
100%
100%
onSwipedRight Callback
100%
100%
onSwipedUp Callback
100%
100%
onSwipedDown Callback
100%
100%
onSwiped Universal Callback
0%
100%
Handler Attachment
50%
100%
Swipe duration limits (swipeDuration)
useSwipeable hook usage
100%
100%
swipeDuration configuration
100%
100%
Directional callbacks
100%
100%
Event data usage
100%
100%
trackMouse configuration
100%
100%
Handler spreading
50%
0%
Initial position tracking
useSwipeable hook usage
100%
100%
Initial position access
100%
100%
Mouse tracking enabled
100%
100%
Swipe start callback
100%
100%
Handler attachment
0%
0%
Install with Tessl CLI
npx tessl i tessl/npm-react-swipeable