1.2.0 • Published 2 years ago

swipe-mobile v1.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Installation

npm i swipe-mobile

Usage

const { left } = initSwipe(element)

left((e) => {
    // do something ...
})

Function initSwipe returns EventController. It has the methods to set callbacks for swipe! To create listener, just use the function left or another one with callback with one parameter event.

Documentation

Full documentation is here

1.2.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago