mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-09-02 03:03:03 +02:00
add new getSlides() API
This can be used by plugins which are concerned with helping the presenter with their pace.
This commit is contained in:
@@ -494,10 +494,11 @@ Reveal.getScale();
|
||||
Reveal.getPreviousSlide();
|
||||
Reveal.getCurrentSlide();
|
||||
|
||||
Reveal.getIndices(); // { h: 0, v: 0 } }
|
||||
Reveal.getIndices(); // { h: 0, v: 0 } }
|
||||
Reveal.getPastSlideCount();
|
||||
Reveal.getProgress(); // (0 == first slide, 1 == last slide)
|
||||
Reveal.getTotalSlides(); // total number of slides
|
||||
Reveal.getProgress(); // (0 == first slide, 1 == last slide)
|
||||
Reveal.getSlides(); // Array of all slides
|
||||
Reveal.getTotalSlides(); // total number of slides
|
||||
|
||||
// Returns the speaker notes for the current slide
|
||||
Reveal.getSlideNotes();
|
||||
|
Reference in New Issue
Block a user