@averta/touch-swipe

1.0.6 • Public • Published

Touch Swipe

Detects swipe gesture on element including gesture data.

Install

npm install @averta/touch-swipe --save-dev

Usage

const element = document.querySelector(".touch-area");
const touchSwipe = new TouchSwipe(element);
touchSwipe.onSwipe = status => {
    console.log(status);
};

Readme

Keywords

Package Sidebar

Install

npm i @averta/touch-swipe

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

107 kB

Total Files

12

Last publish

Collaborators

  • averta