반응형

https://github.com/EightMedia/hammer.js

 

A javascript library for multi-touch gestures :// You can touch this Read more

 

Hammer.js

Build Status

A javascript library for multi-touch gestures

I told you, homeboy / You CAN touch this / Yeah, that's how we living and you know / You CAN touch this

Features

  • Detects Tap, DoubleTap, Swipe, Drag, Pinch, and Rotate gestures
  • DOM Events
  • Debug plugins
  • Custom gestures
  • Chainable instance methods
  • jQuery plugin with events delegation (the on/off methods) available
  • IE8 and older compatibility with jQuery plugin
  • AMD support (RequireJS)
  • Unit tests
  • Option to disable mouse support, so only for touch and pen input.

Getting Started

See the Wiki on GitHub for documentation.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt. Please don't commit the dist versions with your changes, only the changed source files.

Further notes

Created by Jorik Tangelder and developed at Eight Media in Arnhem, the Netherlands.

It's recommend to listen to this loop while using hammer.js.

반응형

+ Recent posts