0.0.5 • Published 8 years ago
react-gesture v0.0.5
react-gesture
A gesture recognizer for web and mobile devices for React.
Installation
yarn add react-gesture
API
prop | type | default value |
---|---|---|
children | element | |
disableClick | bool | func | |
flickThreshold | number | 0.6 |
holdTime | number | 400 |
swipeThreshold | number | 10 |
onSwipeUp | func | |
onSwipeDown | func | |
onSwipeLeft | func | |
onSwipeRight | func | |
onTap | func | |
onClick | func | |
onHold | func | |
onPinchToZoom | func | |
onTouchStart | func | |
onTouchMove | func | |
onTouchCancel | func | |
onTouchEnd | func | |
onMouseDown | func | |
onMouseMove | func | |
onMouseUp | func |
Examples
- Main (source)
License
MIT
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2-rc.13
8 years ago
0.0.2-rc.12
8 years ago
0.0.2-rc.11
8 years ago
0.0.2-rc.10
8 years ago
0.0.2-rc.9
8 years ago
0.0.2-rc.8
8 years ago
0.0.2-rc.7
8 years ago
0.0.2-rc.6
8 years ago
0.0.2-rc.5
8 years ago
0.0.2-rc.4
9 years ago
0.0.2-rc.3
9 years ago
0.0.2-rc.2
9 years ago
0.0.2-rc.1
9 years ago
0.0.2-rc.0
9 years ago
0.0.1
9 years ago