Quellcode durchsuchen

Merge branch 'remotes-plugin-natural-bindings' of https://github.com/toy/reveal.js into dev

Hakim El Hattab vor 11 Jahren
Ursprung
Commit
f157aec1de
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. 4 3
      plugin/remotes/remotes.js

+ 4 - 3
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');