aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-10-14 21:02:32 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-10-14 21:02:32 -0400
commit470cabaea81626b9983923cbe59bc6bbc673a169 (patch)
tree15ab95b87fdd31e6f39a1ad7220135a13c34bea4 /README.md
parente15beb47f0ca0e3db22d70b0b6a5d21d02f514ab (diff)
downloadfosdem-2018-presentation-470cabaea81626b9983923cbe59bc6bbc673a169.tar
fosdem-2018-presentation-470cabaea81626b9983923cbe59bc6bbc673a169.tar.gz
new shorter api method names (closes #178), restructured and cleaned up core js
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index b4dbf89..877169b 100644
--- a/README.md
+++ b/README.md
@@ -124,13 +124,13 @@ The Reveal class provides a minimal JavaScript API for controlling navigation an
```javascript
// Navigation
-Reveal.navigateTo( indexh, indexv );
-Reveal.navigateLeft();
-Reveal.navigateRight();
-Reveal.navigateUp();
-Reveal.navigateDown();
-Reveal.navigatePrev();
-Reveal.navigateNext();
+Reveal.slide( indexh, indexv );
+Reveal.left();
+Reveal.right();
+Reveal.up();
+Reveal.down();
+Reveal.prev();
+Reveal.next();
Reveal.toggleOverview();
// Retrieves the previous and current slide elements