aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHakim El Hattab2012-06-13 06:50:06 -0700
committerHakim El Hattab2012-06-13 06:50:06 -0700
commit681115ea9ccb134266f820434860fa9412571192 (patch)
tree4815956eb7cd354b56ad1b20877e1b5853379b47
parent5d979fdf4a8738ed83e9c4f2827c42ceae247cd8 (diff)
parent8f69e72cf7c1f69ff291ea1e235628e9f829349a (diff)
Merge pull request #61 from rmurphey/navigatePrev_navigateNext
Expose navigatePrev, navigateNext
-rw-r--r--README.md2
-rw-r--r--js/reveal.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 466dbb0..6264672 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,8 @@ The Reveal class provides a minimal JavaScript API for controlling its navigatio
- Reveal.navigateRight();
- Reveal.navigateUp();
- Reveal.navigateDown();
+- Reveal.navigatePrev();
+- Reveal.navigateNext();
- Reveal.toggleOverview();
### States
diff --git a/js/reveal.js b/js/reveal.js
index 8ff8e0b..9744abd 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -920,6 +920,8 @@ var Reveal = (function(){
navigateRight: navigateRight,
navigateUp: navigateUp,
navigateDown: navigateDown,
+ navigatePrev: navigatePrev,
+ navigateNext: navigateNext,
toggleOverview: toggleOverview,
addEventListeners: addEventListeners,