Element.tapEvent 1.0

Adds the 'tap' event to Element.Events. This means you can do this:

my_element.addEvent('tap', fn);


Details

Author
Ian Collins
Current version
1.0
GitHub
3n/Element.tapEvent
Downloads
1459
Category
Native
Report
GitHub Issues

Releases


Dependencies

  • core/1.2.3:
    • Element.Event
    • Element.Dimensions

How to use

Add and remove the event as you would normally. The event will only fire under these conditions:

  1. The user starts his touch inside of the element and releases it inside of the element.
  2. During the touch start/end sequence, the page does not scroll.

Discuss

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