clarify getTotalSlides() returns the number of slides

edit
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.getIndices(); // { h: 0, v: 0 } }
Reveal.getPastSlideCount(); Reveal.getPastSlideCount();
Reveal.getProgress(); // (0 == first slide, 1 == last slide) Reveal.getProgress(); // (0 == first slide, 1 == last slide)
Reveal.getTotalSlides(); Reveal.getTotalSlides(); // total number of slides
// Returns the speaker notes for the current slide // Returns the speaker notes for the current slide
Reveal.getSlideNotes(); Reveal.getSlideNotes();

View File

@ -4984,6 +4984,7 @@
// Returns the indices of the current, or specified, slide // Returns the indices of the current, or specified, slide
getIndices: getIndices, getIndices: getIndices,
// Returns the total number of slides
getTotalSlides: getTotalSlides, getTotalSlides: getTotalSlides,
// Returns the slide element at the specified index // Returns the slide element at the specified index