react-tapper
v0.1.23
Published
Tappable and Swipeable component for React.
Downloads
43,815
Maintainers
Readme
React-Taper
Tappable and Swipeable component for React.
Changelogs
v0.1.20
- upgrade for security alert
v0.1.17
- removed webpack-dev-server dependency
v0.1.16
- upgrade for react v16
v0.1.15
- fixed bug; updated packages
v0.1.14
- added .npmignore
v0.1.13
- added extension for entry
v0.1.12
- Update for react v15.5.x & using ES2015 class
Installation
npm install react-tapper
Properties
- @onTap: callback for tap event
- @onSwiped: callback for swiped event
- @onSwipingUp: callback for swiping-up event
- @onSwipingRight: callback for swiping-right event
- @onSwipingDown: callback for swipeing-down event
- @onSwipingLeft: callback for swipeing-left event
- @onSwipedUp: callback for swiped-up event
- @onSwipedRight: callback for swiped-right event
- @onSwipedDown: callback for swiped-down event
- @onSwipedLeft: callback for swiped-left event
- @flickThreshold: velocity threshold, default as 0.6
- @delta: movement delta, default as 10px