clarify getTotalSlides() returns the number of slides

This commit is contained in:
Adam Spiers 2016-04-16 15:01:46 +01:00
parent d75afd6108
commit 40912ace1f
2 changed files with 2 additions and 1 deletions

View file

@ -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();

View file

@ -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