Skip to content

(Ember Only) A lightweight library for building and using touch gestures with Ember Applications

Notifications You must be signed in to change notification settings

roydaniels/ember-touch

 
 

Repository files navigation

Ember Touch

Overview

Ember Touch lays the groundwork for a comprehensive touch and gesture system that sits on top of EmberJS.

Along with providing support for custom gesture recognizers, Ember Touch ships with some pre-built gestures: Pinch, Pan, Tap, TouchHold and Press.

Consult the gesture.js file for instructions on building your own gestures as well as using the built-in one.

Touch ember views can also be used with other UI libraries (ex: iScroll 4 ) which also handles touch events.

TODO

Test gestures on multiple touch devices.

Improvements, issues, bugs, contributions.....

Wiki

Read Sproutcore-Touch Wiki

Ember-Touch in Action ( Examples )

Mobile Ember Kit

Usage

  1. Rake command will build ember-touch.js on the dist folder in order to be used on your project.

  2. Add gesture support to your views just by adding specific methods ( tapEnd, touchHoldStart, touchHoldEnd....)

  3. Tests your views on multi touch devices or qunit.

How to Run Unit Tests

run bundle exec rackup

Test the whole suite http://localhost:9292/tests/index.html

Test only a specific test file (add test param: test location without extension) http://localhost:9292/tests/index.html?test=system/view_test

If you want to test against other ember.js version, deployed the js on its package directory.

About

(Ember Only) A lightweight library for building and using touch gestures with Ember Applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.1%
  • Ruby 10.9%