From c4038451f4cf91666ca082ce3a54a999cdc83af6 Mon Sep 17 00:00:00 2001
From: Benjamin Tan
Date: Wed, 14 Dec 2016 09:45:08 +0800
Subject: [PATCH] Add notes about the cube/page transitions.
Closes #1739.
Ref. #1681, #1718.
---
README.md | 2 +-
demo.html | 6 ++++--
js/reveal.js | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index dd38a99707e..c554dd4a495 100644
--- a/README.md
+++ b/README.md
@@ -248,7 +248,7 @@ Reveal.initialize({
previewLinks: false,
// Transition style
- transition: 'slide', // none/fade/slide/convex/concave/zoom
+ transition: 'slide', // none/fade/slide/convex/concave/zoom/cube/page
// Transition speed
transitionSpeed: 'default', // default/fast/slow
diff --git a/demo.html b/demo.html
index 36ad2244aa0..a924e7946dc 100644
--- a/demo.html
+++ b/demo.html
@@ -154,7 +154,9 @@ Transition Styles
Slide -
Convex -
Concave -
- Zoom
+ Zoom -
+ Cube -
+ Page
@@ -391,7 +393,7 @@ THE END
history: true,
center: true,
- transition: 'slide', // none/fade/slide/convex/concave/zoom
+ transition: 'slide', // none/fade/slide/convex/concave/zoom/cube/page
// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
diff --git a/js/reveal.js b/js/reveal.js
index 7a4bc9e1d34..98d2dc12192 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -135,7 +135,7 @@
focusBodyOnPageVisibilityChange: true,
// Transition style
- transition: 'slide', // none/fade/slide/convex/concave/zoom
+ transition: 'slide', // none/fade/slide/convex/concave/zoom/cube/page
// Transition speed
transitionSpeed: 'default', // default/fast/slow