Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-easy-swipe

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-easy-swipe - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "react-easy-swipe",
"version": "0.0.6",
"version": "0.0.7",
"description": "React easy swipe - Easy handler for common touch operations",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -25,13 +25,13 @@ # REACT EASY SWIPE

class MyComponent extends Component {
onSwipeStart() {
console.log('Start swiping...');
onSwipeStart(event) {
console.log('Start swiping...', event);
}
onSwipeMove(position) {
console.log(`Moved ${position.x} pixels horizontally`);
console.log(`Moved ${position.y} pixels vertically`);
onSwipeMove(position, event) {
console.log(`Moved ${position.x} pixels horizontally`, event);
console.log(`Moved ${position.y} pixels vertically`, event);
}
onSwipeEnd() {
console.log('End swiping...');
onSwipeEnd(event) {
console.log('End swiping...', event);
}

@@ -38,0 +38,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc