aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-05-20 11:24:05 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2019-05-20 11:24:05 +0200
commitbd1e82d19af43294df240f33a738e8d1bc293444 (patch)
tree15431cba04a0d3a88796cfad77678147dbcd63a3 /README.md
parent1766e37a6358d2abe03ec5695279f1b6c860e522 (diff)
downloadfosdem-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.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7bd33c6..283801f 100644
--- a/README.md
+++ b/README.md
@@ -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