aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.revealjs
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/default.revealjs')
-rw-r--r--data/templates/default.revealjs13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index 78edbae77..5278dd145 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -232,6 +232,19 @@ $endif$
// devices. It is advisable to set this to a lower number than
// viewDistance in order to save resources.
mobileViewDistance: $mobileViewDistance$,
+$if(view)$
+
+ // Enable scroll view
+ view: '$view/nowrap$',
+ // see https://revealjs.com/scroll-view/#scrollbar
+ scrollProgress: $scrollProgress$,
+ // see https://revealjs.com/scroll-view/#url-activation
+ scrollActivationWidth: '$scrollActivationWidth$',
+ // see https://revealjs.com/scroll-view/#scroll-snapping
+ scrollSnap: '$scrollSnap$',
+ // Experimental. see https://revealjs.com/scroll-view/#scroll-snapping
+ scrollLayout: '$scrollLayout$',
+$endif$
$if(parallaxBackgroundImage)$
// Parallax background image