diff options
author | Adam Spiers <github@adamspiers.org> | 2016-04-16 15:01:46 +0100 |
---|---|---|
committer | Adam Spiers <github@adamspiers.org> | 2017-04-20 15:18:15 +0100 |
commit | 40912ace1f3597adadb42a8b4a30b8721fc9b6df (patch) | |
tree | f7a964f1e3d38ec5f321551e9c4746ab802195be | |
parent | d75afd6108aa8cfe1a471d5a832d84b1e10fc601 (diff) | |
download | fosdem-2018-presentation-40912ace1f3597adadb42a8b4a30b8721fc9b6df.tar fosdem-2018-presentation-40912ace1f3597adadb42a8b4a30b8721fc9b6df.tar.gz |
clarify getTotalSlides() returns the number of slides
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | js/reveal.js | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -497,7 +497,7 @@ Reveal.getCurrentSlide(); Reveal.getIndices(); // { h: 0, v: 0 } } Reveal.getPastSlideCount(); Reveal.getProgress(); // (0 == first slide, 1 == last slide) -Reveal.getTotalSlides(); +Reveal.getTotalSlides(); // total number of slides // Returns the speaker notes for the current slide Reveal.getSlideNotes(); diff --git a/js/reveal.js b/js/reveal.js index 9453f97..2856f00 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -4984,6 +4984,7 @@ // Returns the indices of the current, or specified, slide getIndices: getIndices, + // Returns the total number of slides getTotalSlides: getTotalSlides, // Returns the slide element at the specified index |