react-easy-swipe
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -253,3 +253,3 @@ (function (global, factory) { | ||
if (shouldPreventDefault) { | ||
if (shouldPreventDefault && event.cancelable) { | ||
event.preventDefault(); | ||
@@ -256,0 +256,0 @@ } |
{ | ||
"name": "react-easy-swipe", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "React easy swipe - Easy handler for common touch operations", | ||
"main": "./lib/index.js", | ||
"types": "./react-easy-swipe.d.ts", | ||
"engines": { | ||
@@ -29,6 +30,7 @@ "node": ">= 6" | ||
"name": "Leandro Augusto Lemos", | ||
"url": "leandrowd@gmail.com" | ||
"url": "http://leandrowd.github.io/" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/react": "^16.9.17", | ||
"babel-cli": "^6.22.2", | ||
@@ -35,0 +37,0 @@ "babel-core": "^6.3.15", |
@@ -20,2 +20,4 @@ # REACT EASY SWIPE | ||
3) To prevent accidental swipes on scroll, pass a prop tolerance with the tolerance pixel as number. | ||
## Instalation | ||
@@ -85,3 +87,4 @@ `npm install react-easy-swipe --save` | ||
onSwipeMove: PropTypes.func, | ||
onSwipeEnd: PropTypes.func | ||
onSwipeEnd: PropTypes.func, | ||
tolerance: PropTypes.number.isRequired | ||
} | ||
@@ -88,0 +91,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
191238
12
466
98
33