Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

jquery.touchClick.js

This plugin allows you to assign events to all tap events while ensuring the events don’t fire twice. touchClick() is a jQuery plugin port of http://jsbin.com/ijizat/25

Demo

http://cdpn.io/kjind

Usage

var $target = $('#target'),
	$b = $('<b/>');

$('button')
	.touchClick(function( e ){
		$target.append(
			$b.clone()
				.text(
					$( e.target ).text() + ' ' + e.type
				)
		);
	});

About

TouchClick (http://jsbin.com/ijizat/25) as a jQuery plugin

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages