{"_id":"detect_swipe","_rev":"5-812af1f297d1439ee53552a311119bf7","name":"detect_swipe","time":{"modified":"2022-06-15T01:59:59.034Z","created":"2017-05-22T20:56:59.002Z","2.7.2":"2017-05-22T20:56:59.002Z","2.1.3":"2017-05-22T20:58:43.172Z","2.1.4":"2017-05-29T15:18:23.403Z"},"maintainers":[{"name":"marcandre","email":"npm@marc-andre.ca"}],"dist-tags":{"latest":"2.1.4"},"description":"Simple jQuery extension for swipe events on touch devices","readme":"jquery.detectSwipe\n==================\n\nGives easy access to left/right/up/down swipe events for iOS and other touch devices.\n\nBased on Andreas Waltl's [jQuery TouchWipe](http://www.netcu.de/jquery-touchwipe-iphone-ipad-library).\n\nHow to use\n----------\n\n    $(\".selector\").on('swipeleft',  function(){ /*...*/ })\n                  .on('swiperight', function(){ /*...*/ })\n                  .on('swipeup',    function(){ /*...*/ })\n                  .on('swipedown',  function(){ /*...*/ });\n\nThis won't have any effect on non-touch devices. You can rely on:\n\n    $.detectSwipe.enabled // true on touch devices, false otherwise\n\nGlobal setting:\n\n    $.detectSwipe.threshold // The number of pixels your finger must move to trigger a swipe event.  Defaults is 20.\n    $.detectSwipe.preventDefault // Should touchmove events be prevented?  Defaults to true.\n","versions":{"2.1.3":{"name":"detect_swipe","version":"2.1.3","homepage":"http://github.com/marcandre/detect_swipe","license":"MIT","description":"Simple jQuery extension for swipe events on touch devices","main":"jquery/detect_swipe.js","repository":{"type":"git","url":"git+https://github.com/marcandre/detect_swipe.git"},"keywords":["touch","swipe","jquery","events"],"author":{"name":"Marc-André Lafortune","email":"git+detect_swipe@marc-andre.ca","url":"http://www.marc-andre.ca/"},"bugs":{"url":"https://github.com/marcandre/detect_swipe/issues"},"dependencies":{"jquery":">=1.8.0"},"gitHead":"2a2ce7949c5c4a137c98db4cd07dcec937df9139","_id":"detect_swipe@2.1.3","scripts":{},"_shasum":"39a1263a01219564debf8f593df16cec3bb6a3ca","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"marcandre","email":"npm@marc-andre.ca"},"dist":{"shasum":"39a1263a01219564debf8f593df16cec3bb6a3ca","tarball":"https://registry.npmjs.org/detect_swipe/-/detect_swipe-2.1.3.tgz","integrity":"sha512-eA4ML9/JC6SvA1v+452YV78ttP1TWWLJgjQlp8sfwwje8HEeQTTARRh/l1fiTfNCpwRin1vu7lfPuf/zdq2Ycg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2CAATImtEEL3uI+iM0RbVrOukRGaEbA6oRYaS97/nFgIgMLzgEQwamzFVq21UPbhz+a1/6vHgBPBpVkLmLK/K5Lg="}]},"maintainers":[{"name":"marcandre","email":"npm@marc-andre.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect_swipe-2.1.3.tgz_1495486722997_0.7169850138016045"}},"2.1.4":{"name":"detect_swipe","version":"2.1.4","homepage":"http://github.com/marcandre/detect_swipe","license":"MIT","description":"Simple jQuery extension for swipe events on touch devices","main":"jquery.detect_swipe.js","repository":{"type":"git","url":"git+https://github.com/marcandre/detect_swipe.git"},"keywords":["touch","swipe","jquery","events"],"author":{"name":"Marc-André Lafortune","email":"git+detect_swipe@marc-andre.ca","url":"http://www.marc-andre.ca/"},"bugs":{"url":"https://github.com/marcandre/detect_swipe/issues"},"dependencies":{"jquery":">=1.8.0"},"gitHead":"a451680f05244ca584970159eed7ca5365c702f8","_id":"detect_swipe@2.1.4","scripts":{},"_shasum":"7fd155cf594cbc4e47c0b479959b4a91b6ff3c42","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"marcandre","email":"npm@marc-andre.ca"},"dist":{"shasum":"7fd155cf594cbc4e47c0b479959b4a91b6ff3c42","tarball":"https://registry.npmjs.org/detect_swipe/-/detect_swipe-2.1.4.tgz","integrity":"sha512-lvHV8JUh1OwAFlv6b+C/vKqmOT23reN710w8hj7euFQTmqdPaiAvYbesrca1c0NTndbyKZ86J15BwiqU1/Ewrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaLCIF4HXOnuvB5ma5FrusuTfpi0QPYMGDMRmvaONJHAIhAJIDnz0sLWkjgs3whw6fC9jbnvFvDtib7E2O6TnihdJS"}]},"maintainers":[{"name":"marcandre","email":"npm@marc-andre.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect_swipe-2.1.4.tgz_1496071103272_0.414438039297238"}}},"homepage":"http://github.com/marcandre/detect_swipe","keywords":["touch","swipe","jquery","events"],"repository":{"type":"git","url":"git+https://github.com/marcandre/detect_swipe.git"},"author":{"name":"Marc-André Lafortune","email":"git+detect_swipe@marc-andre.ca","url":"http://www.marc-andre.ca/"},"bugs":{"url":"https://github.com/marcandre/detect_swipe/issues"},"license":"MIT","readmeFilename":"README.md"}