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 168 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.


Camming Issue: Models vs. Affiliates

One of the most contentious conversations among cam models today involves affiliate promotions that include unauthorized photos or videos of the models. This isn’t a matter of a model’s, network’s,... More »

Camming Issue: Profits on Rise for Performers

It’s been 20 years since JenniCam rocked the infant internet with the first adult-oriented live cam shows, revealing the intimate details of this groundbreaking cam performer’s daily life —... More »

Caring About Camming: Academia Takes a Closer Look

Editor’s Note: Rachel Stuart is a PhD Researcher at the University of Kent’s School of Sociology, Social Policy and Research, undertaking an investigation of some of camming’s nuances,... 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.
Access the latest issues of the industry's leading trade publications in digital form. View online or download for offline viewing.


XBIZ 2017

Jan 09 - Jan 13
Hollywood, CA

XBIZ Awards 2017

Jan 12 - Jan 12
Los Angeles, CA

ANME Founders Show

Jan 14 - Jan 15
Los Angeles Marriott Burbank Airport

Everything To Do With Sex Show

Jan 20 - Jan 22
Montréal, Québec
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!