diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-10-14 21:02:32 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-10-14 21:02:32 -0400 |
commit | 470cabaea81626b9983923cbe59bc6bbc673a169 (patch) | |
tree | 15ab95b87fdd31e6f39a1ad7220135a13c34bea4 /README.md | |
parent | e15beb47f0ca0e3db22d70b0b6a5d21d02f514ab (diff) | |
download | fosdem-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.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 |