diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-05-20 11:24:05 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2019-05-20 11:24:05 +0200 |
commit | bd1e82d19af43294df240f33a738e8d1bc293444 (patch) | |
tree | 15431cba04a0d3a88796cfad77678147dbcd63a3 /README.md | |
parent | 1766e37a6358d2abe03ec5695279f1b6c860e522 (diff) | |
download | fosdem-2021-minimalism-presentation-bd1e82d19af43294df240f33a738e8d1bc293444.tar fosdem-2021-minimalism-presentation-bd1e82d19af43294df240f33a738e8d1bc293444.tar.gz |
new API methods for getting horizontal/vertical slides, force linear navigation for one-dimensional decks
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -629,6 +629,15 @@ Reveal.getProgress(); // (0 == first slide, 1 == last slide) Reveal.getSlides(); // Array of all slides Reveal.getTotalSlides(); // Total number of slides +// Returns an array with all horizontal/vertical slides in the deck +Reveal.getHorizontalSlides(); +Reveal.getVerticalSlides(); + +// Checks if the presentation contains two or more +// horizontal/vertical slides +Reveal.hasHorizontalSlides(); +Reveal.hasVerticalSlides(); + // Returns the speaker notes for the current slide Reveal.getSlideNotes(); @@ -640,7 +649,7 @@ Reveal.isPaused(); Reveal.isAutoSliding(); // Returns the top-level DOM element -getRevealElement(); // <div class="reveal">...</div> +Reveal.getRevealElement(); // <div class="reveal">...</div> ``` ### Custom Key Bindings |