diff options
author | Adam Spiers | 2016-04-16 15:12:22 +0100 |
---|---|---|
committer | Adam Spiers | 2017-04-20 15:18:15 +0100 |
commit | ef9cbbbbb92560f1ffd41dce23a584474922fe16 (patch) | |
tree | fbe6d5508cd47c314ab6e5de00d91693cabc122f /README.md | |
parent | 40912ace1f3597adadb42a8b4a30b8721fc9b6df (diff) |
add new getSlides() API
This can be used by plugins which are concerned with helping the
presenter with their pace.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -494,10 +494,11 @@ Reveal.getScale(); Reveal.getPreviousSlide(); Reveal.getCurrentSlide(); -Reveal.getIndices(); // { h: 0, v: 0 } } +Reveal.getIndices(); // { h: 0, v: 0 } } Reveal.getPastSlideCount(); -Reveal.getProgress(); // (0 == first slide, 1 == last slide) -Reveal.getTotalSlides(); // total number of slides +Reveal.getProgress(); // (0 == first slide, 1 == last slide) +Reveal.getSlides(); // Array of all slides +Reveal.getTotalSlides(); // total number of slides // Returns the speaker notes for the current slide Reveal.getSlideNotes(); |