Tag Archives: Hammerjs

Video: Building Mobile Applications with Ionic

Learn how to build iOS and Android native apps with Ionic.js, the HTML5/JavaScript mobile app framework for Angular.js and Apache Cordova / Adobe PhoneGap. This presentation covers setting up Ionic and Cordova with NPM, building a new application from the command line, using Ionic’s mobile-inspired components and touch events powered by Hammer.js

Slides Only: http://www.slideshare.net/morrissinge…

Getting Started with HAMMERJS

via Getting Started – Hammer.js.

Hammer is a open-source library that can recognize gestures made by touch, mouse and pointerEvents. It doesn’t have any dependencies, and it’s small, only 3.96 kB minified + gzipped!

Five Things You Need to Know About Hammer.js 2.0

Five Things You Need to Know About Hammer.js 2.0

Hammer.js is a JavaScript library that makes touch events easier to identify, handle and manipulate. Recently, Hammer.js was upgraded from 1.1.3 to 2.0 and the API was drastically changed. If you’re using Hammer.js 1.x at work or for fun, interested in Hammer.js, or intrigued by touch events in general (but haven’t actually used them), this article is meant for you!

The Gilt team uses Hammer.js in many of our carousels for tablets, but otherwise sticks to native touchstart and touchend events. In creating a personal project that made extensive use of Hammer.js 1.x, I found it to be an extremely helpful library for identifying complex touch events like pinch and swipe. I also found that it lacked a full set of API features, so I wrote some simple helpers and a wrapper to make Hammer easier to use for myself. The look and feel of Hammer 2.0’s API is completely different from that of 1.x, and includes many of the features that I believed Hammer.js lacked.

These are the top five things I think everyone should know about Hammer 2.0 and how it’s different from Hammer 1.x: