expose getPastSlideCount() via public API

This can be used by plugins which are concerned with helping the
presenter with their pace.
This commit is contained in:
Adam Spiers committed 2017-04-20 15:18:15 +01:00
1 parent eac37990e1
commit d75afd6108
2 files changed
+4

No files matched your search

+1
View File
@@ -495,6 +495,7 @@ Reveal.getPreviousSlide();
Reveal.getCurrentSlide();
Reveal.getIndices(); // { h: 0, v: 0 } }
Reveal.getPastSlideCount();
Reveal.getProgress(); // (0 == first slide, 1 == last slide)
Reveal.getTotalSlides();