Home > Features > Web Depot: Hammering Out Gesture Controls • Bookmark   • Newsletters   • Register Search Options


Web Depot: Hammering Out Gesture Controls

Web Depot: Hammering Out Gesture Controls

August 20, 2015
Text size: 
View in Digital Mag
Get XBIZ News
XBIZ Research
Will virtual reality boost the paysite market?
Yes, it will soon
Yes, but in a few years
Out of 179 votes. Results based on votes submitted by members of XBIZ.net social network.

" Hammer.js adds gesture recognizers for tap, double tap, press, horizontal pan and swipe. "

The move to mobilization is motivating many website designers to adopt gesture controls for easier access and navigation by mobile device users. Enter Hammer.js, an open source JavaScript library that recognizes user gestures made by touch, mouse, or pointer event. The script does not have any dependencies, and is very lightweight, at only 3.96kb when minified and gzipped.

Completely rewritten to provide reusable gesture recognizers along with improved support for the most recent mobile browsers, Hammer.js makes use of the touch-action CSS property whenever possible, and supports multiple Hammer instances at the same time to allow multi-user interaction. The script is easy to use, and only requires the inclusion of the library and the creation of a new instance.

By default, Hammer.js adds gesture recognizers for tap, double tap, press, horizontal pan and swipe, and optionally for multi-touch pinch and rotation, as well as vertical pan and swipe recognizers and custom gesture recognizers as well.


Paysite Meetup: Catching Lightning in a Bottle

We just completed the first XBIZ.net Paysite Meetup in Prague. We caught lightning in a bottle. I first heard that expression from a friend who works in TV. He started in TV in the 1960s selling advertising,... More »

Why a Traffic Network Killed a Popular Offering

Change begets change. Nothing propagates so fast. If a man habituated to a narrow circle of cares and pleasures, out of which he seldom travels, step beyond it, though for never so brief a space, his departure... More »

Luring Cam Users With the Right Ad Format

The live cam marketplace is highly competitive filled with big-, medium- and small-sized players. So how do you stand out from the crowd to attract new users or persuade users to come back and spend their... More »
Stay informed of the latest industry developments. Get XBIZ newsletters delivered to your inbox. Subscribe today!
Enter email address:

* To manage existing subscriptions click here.

Submit your press release to
multiple news outlets with 1 click.
Subscribe to RSS news feeds or
add free content to your website.
Access XBIZ news and articles
with your mobile device.
Subscribe to XBIZ World magazine, the industry's leading e-commerce trade publication, delivering in-depth coverage of the online, mobile and ancillary digital markets.


Latin America Adult Business Expo

Jul 10 - Jul 12
Cartagena, Colombia

ANME Founders Show

Jul 16 - Jul 18
Los Angeles Marriott Burbank Airport


Aug 03 - Aug 06
Montreal, Quebec

XBIZ Berlin 2017

Sep 11 - Sep 14
Berlin, Germany
Everyday thousands of business professionals browse XBIZ's industry directory for quality products and services. Not listed yet? Your company could be losing potential new business. Submit your company today!
Use XBIZ RSS feeds to stay informed of the latest industry developments or as a content syndication tool for your website!