Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Releases: dencreativityspace/swipe-event

v2.0.0

17 Feb 08:42
Compare
Choose a tag to compare

Switched to a function-class structure.

SwipeEvent object has two public methods:

  • attach(): attaches needed events callbacks to trigger swipe event;
  • detach(): detaches needed events callbacks to trigger swipe event.

v1.0.0

15 Feb 14:34
Compare
Choose a tag to compare

Initial version of swipe-event.

Import the minimized script in your website and call the function attachSwipeEvent() to bind the event to an element.