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

easy-designs/jquery.touchClick.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

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
				)
		);
	});

Releases

No releases published

Packages

No packages published