Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Latest commit

 

History

History
70 lines (49 loc) · 1.92 KB

README.md

File metadata and controls

70 lines (49 loc) · 1.92 KB

obsolete repository.

see also ftlabs/fastclick

fastClick.js

fast click for mobile browsers

SYNOPSIS

// for all elements
fastClick();

/*
	<div id="target">
		<a href="http://example.com">fast</a>
	</div>
	<div>
		<a href="http://example.com">slow</a>
	</div>
*/
fastClick('#target');

/*
	<div id="target">
		<a href="http://example.com">fast</a>
		<div id="ignore">
			<a href="http://example.com">slow</a>
		</div>
	</div>
*/
fastClick('#target', '#ignore');

DEMO

live demo
(fork demo code)

LICENSE

fastClick
Copyright (C) KAYAC Inc. | http://www.kayac.com/
Dual licensed under the MIT <http://www.opensource.org/licenses/mit-license.php>
and GPL <http://www.opensource.org/licenses/gpl-license.php> licenses.
@author @kyo_ago

LINKS

Creating Fast Buttons for Mobile Web Applications - Mobile — Google Developers

FastClick: native-like tapping for touch apps | FT Labs

Configuring Defaults(useFastClick)

JavaScript Helper(Fast Buttons) · h5bp/mobile-boilerplate Wiki

Remove onClick delay on webkit for iPhone

Rob Juurlink » Blog Archive » Fast JavaScript Click Event for Touch Devices

dave1010/jquery-fast-click

javascript - Trying to implement Google's Fast Button - Stack Overflow