Skip to content

jQuery plugin, Fast click event for touch screen device.

Notifications You must be signed in to change notification settings

chilibeck/jquery-touch-click

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

jQuery touch click

Version: 1.0, Last updated: 4/22/2012

This jQuery plugin makes a faster click event for touch screen devices.

.touchClick( handler(eventObject) )

At first this jQuery plugin gives className called "active" when touchstart event occurred. When touchmove event occurred on the way, I do not handle handler. But "active" className is deleted. If touchend event occurs without touchmove event occurring, handler is handled.

.touchClick( [addClassName], handler(eventObject) )

className to be given between touchClick events is modifiable by [addClassName].

Test browser

  • Chrome
  • Safari
  • Firefox
  • Opera
  • iOS 4.3.2

Reason not to use the click event

Click event is slow.

About

jQuery plugin, Fast click event for touch screen device.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published