diff --git a/README.md b/README.md index 47a5f61..24b6002 100644 --- a/README.md +++ b/README.md @@ -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(); diff --git a/js/reveal.js b/js/reveal.js index f19dcfc..9453f97 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -4975,6 +4975,9 @@ getState: getState, setState: setState, + // Presentation progress + getSlidePastCount: getSlidePastCount, + // Presentation progress on range of 0-1 getProgress: getProgress,