Adds the 'swipe' event to Element.Events. This means you can do this:
my_element.addEvent('swipe', fn);
Add and remove the event as you would normally. The event will only fire under these conditions:
You can configure the following properties by assigning a value to them in your script:
Element.Events.swipe.swipeWidth // default is 70 Element.Events.swipe.cancelVertical // default is true
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus