Commit 40912ace authored by Adam Spiers's avatar Adam Spiers
Browse files

clarify getTotalSlides() returns the number of slides

parent d75afd61
......@@ -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();
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment