Commit d75afd61 authored by Adam Spiers's avatar Adam Spiers
Browse files

expose getPastSlideCount() via public API

This can be used by plugins which are concerned with helping the
presenter with their pace.
parent eac37990
......@@ -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();
......
......@@ -4975,6 +4975,9 @@
getState: getState,
setState: setState,
// Presentation progress
getSlidePastCount: getSlidePastCount,
// Presentation progress on range of 0-1
getProgress: getProgress,
......
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