googlearchive / polymer-gestures

84 stars 28 forks source link

This project is deprecated. Please see: https://www.polymer-project.org/1.0/docs/devguide/events.html#gestures

pointer-gestures

A set of rich gestures for desktop and mobile.

Supported events:

Not yet implemented:

More info — https://groups.google.com/forum/#!topic/polymer-dev/ba4aDyOozm8

How to use

The element, or a parent of the element, should have the touch-action="none" attribute.

PolymerGestures.addEventListener(element, eventname, handler, capture);

How to build

mkdir gestures
cd gestures
git clone git@github.com:Polymer/tools.git
git clone git@github.com:Polymer/polymer-gestures.git
cd polymer-gestures
npm install
grunt

How to run

cd gestures
python -m SimpleHTTPServer
open http://localhost:8000/polymer-gestures/samples/simple/

More info — http://www.polymer-project.org/resources/tooling-strategy.html