aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-09-10 14:37:25 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-09-10 14:37:25 +0200
commita151df54be33894a4b06c3a0bc9b51524db77e2c (patch)
treea879079651a8dec46fc154a69c695ae435d435b3 /README.md
parent1116d99e87c521b9c9c3de164a2f9d766bbdf224 (diff)
downloadfreenode-live-2017-presentation-a151df54be33894a4b06c3a0bc9b51524db77e2c.tar
freenode-live-2017-presentation-a151df54be33894a4b06c3a0bc9b51524db77e2c.tar.gz
document `data-prevent-swipe` #951
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9011605..d86c984 100644
--- a/README.md
+++ b/README.md
@@ -316,6 +316,13 @@ Reveal.configure({
});
```
+### Touch Navigation
+
+You can swipe to navigate through a presentation on any touch-enabled device. Horizontal swipes change between horizontal slides, vertical swipes change between vertical slides. If you wish to disable this you can set the `touch` config option to false when initializing reveal.js.
+
+If there's some part of your content that needs to remain accessible to touch events you'll need to highlight this by adding a `data-prevent-swipe` attribute to the element. One common example where this is useful is elements that need to be scrolled.
+
+
### Lazy Loading
When working on presentation with a lot of media or iframe content it's important to load lazily. Lazy loading means that reveal.js will only load content for the few slides nearest to the current slide. The number of slides that are preloaded is determined by the `viewDistance` configuration option.