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

tolbard/sproutcore-touch

 
 

Repository files navigation

SproutCore Touch

Current Version: 2.0.beta

Overview

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

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

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

Usage

  1. Download the SproutCore Touch Starter Kit

  2. Unzip and open the kit in your favourite editor

  3. Open the iOS Simulator and try pinching and panning the red box with two fingers

  4. Open js/app.js and play around with the application. You can find docs in gesture.js

How to Run Unit Tests

  1. Install Ruby 1.9.2. There are many resources on the web can help; one of the best is rvm.

  2. Run gem install bpm --pre to install bpm, the browser package manager.

  3. To start the development server, run bpm preview

  4. Then visit: http://localhost:4020/assets/spade-qunit/index.html?package=sproutcore-touch

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