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.


Understanding 'Camming Sociology' Can Enhance Interactions

After working for six years in the live cam industry as a cam model and almost double the amount of time studying — while working simultaneously — how relationships work in cyberspace, I am... More »

Proper Fisting Techniques for Gentle Stimulation

Does the phrase “anal fisting” make your sphincter clench in terror? Does it seem like an urban legend or an extreme party trick? Most people scoff at the idea of trying it because it sounds... More »

Camming Games, Contests Keep Customers Engaged

Last issue, I talked about the importance of changing up the ambience in a cam model room via new décor and small visual tweaks, to keep viewers engaged long-term. This time, I’d like to discuss... 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 Retreat

May 30 - Jun 03
Miami, Florida

XBIZ Miami 2017

May 30 - Jun 02
Miami, Florida

XShow 18+ 2017

Jun 01 - Jun 03
Moscow, Russia

Cam Summit

Jun 02 - Jun 04
Lloret de Mar, Spain
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!