Skip to content

richardortiz84/jquery.touchtapevents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

jquery.touchtapevents

Jquery Plugin - Touch / Tap Events

This is a jquery touch and tap events library for mobile and web applications. This library helps eliminate the 300ms delay in touch events on mobile devices or desktops with touch screen capabilities.

##Basic usage:

  $(document).on('tap', 'a', function(event) {
    alert('I was tapped!');
  });
  
  $("document").on('taphold', 'a', function(event) {
    alert('I am being held down!');
  });
  
  $("document").on('swiperight', 'div', function(event) {
    alert('I was swiped to the right!');
  });
  
  $("document").on('swipeleft', 'div', function(event) {
    alert('I was swiped to the left!');
  });
  
  $("#home").tap(function(event) {
    alert('I was tapped!');
  });
  
  $("#home").taphold(function(event) {
    alert('I am being held down!');
  });
  
  $("div").swipeleft(function(event) {
    alert('I was swiped to the left!');
  });

About

A simple touch and tap events library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published