Skip to content

Commit

Permalink
bumped version to 1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
john-doherty committed Nov 21, 2022
1 parent f9f448b commit d2f10d1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![npm](https://img.shields.io/npm/dt/swiped-events)](https://www.npmjs.com/package/swiped-events)

A **0.7k** script that adds `swiped-left`, `swiped-right`, `swiped-up` and `swiped-down` events to the DOM using [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent) and pure JS. Based on the StackOverflow thread [Detect a finger swipe through JavaScript on the iPhone and Android](https://stackoverflow.com/questions/2264072/detect-a-finger-swipe-through-javascript-on-the-iphone-and-android)
A **1k** script that adds `swiped-left`, `swiped-right`, `swiped-up` and `swiped-down` events to the DOM using [CustomEvent](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent) and pure JS. Based on the StackOverflow thread [Detect a finger swipe through JavaScript on the iPhone and Android](https://stackoverflow.com/questions/2264072/detect-a-finger-swipe-through-javascript-on-the-iphone-and-android)

<img src="docs/example.gif" height="349px"/>

Expand Down
2 changes: 1 addition & 1 deletion dist/swiped-events.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 1 addition & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "swiped-events",
"version": "1.1.6",
"description": "A 0.7k script that adds swipe events to the DOM for touch enabled devices",
"version": "1.1.7",
"description": "A 1k script that adds swipe events to the DOM for touch enabled devices",
"main": "src/swiped-events.js",
"scripts": {
"start": "node server/dev-server.js",
Expand Down

0 comments on commit d2f10d1

Please sign in to comment.