backbone-input / motion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backbone Input: Motion

Monitor motion movements in your views

Features

Supporting these interfaces:

Install

Using bower

bower install backbone.input.motion

Usage

Most events can be setup through the view's options. There are two main attributes:

  • monitor (array) : defines the devices that will be monitored. Available options: "accelerometer", "rift"
  • states (object) : picks the events to monitor for ever device. All supported devices have their own sub-object

Credits

Initiated by Makis Tracend ( @tracend )

Distributed through Makesites.org

Released under the MIT license

About


Languages

Language:JavaScript 100.0%