aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugin
diff options
context:
space:
mode:
authorHakim El Hattab2013-05-04 15:03:19 -0400
committerHakim El Hattab2013-05-04 15:03:19 -0400
commitf157aec1dea794abfe2e9b56dc38df8c2d311bce (patch)
tree0f2689f80939511046519e7f7d68d1c7dce9d373 /plugin
parentc746233f66cb9b2488e76e1ab2c4f294443fadbb (diff)
parent352ec7e9addaedb0687eb57816f2ae26ff6ccd20 (diff)
Merge branch 'remotes-plugin-natural-bindings' of https://github.com/toy/reveal.js into dev
Diffstat (limited to 'plugin')
-rw-r--r--plugin/remotes/remotes.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/remotes/remotes.js b/plugin/remotes/remotes.js
index febdf87..694e9c0 100644
--- a/plugin/remotes/remotes.js
+++ b/plugin/remotes/remotes.js
@@ -28,9 +28,10 @@
.on("swipe-right", function(e){ Reveal.left(); })
.on("swipe-up", function(e){ Reveal.down(); })
.on("swipe-down", function(e){ Reveal.up(); })
- .on("tap", function(e){
- Reveal.toggleOverview();
- });
+ .on("tap", function(e){ Reveal.next(); })
+ .on("zoom-out", function(e){ Reveal.toggleOverview(true); })
+ .on("zoom-in", function(e){ Reveal.toggleOverview(false); })
+ ;
} );
head.js('https://raw.github.com/Remotes/Remotes/master/dist/remotes.ne.min.js');