Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Remotes integration example
<script src=""></script>
new Remotes("preview")
.on("swipe-left", function(e){
/* what happens when i swipe left on my phone? */
.on("swipe-right", function(e){
/* what happens when i swipe right on my phone? */
.on("swipe-up", function(e){
/* let's go up */
.on("swipe-down", function(e){
/* it's going down */
.on("tap", function(e){
/* and the screen explodes */
.on("hold", function(e){
/* hold on */
.on("release", function(e){
/* hands off */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.