diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-03-20 17:57:52 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-03-20 17:57:52 +0100 |
commit | 2625a9292eae1c13c609eabd6d71eef825b55c92 (patch) | |
tree | 014bc4e194dbcf40f4ab087b498ade4b584d40da /README.md | |
parent | 0dbdd8a3667e043f3f67dc1ffdb654067b592919 (diff) | |
download | fosdem-2018-presentation-2625a9292eae1c13c609eabd6d71eef825b55c92.tar fosdem-2018-presentation-2625a9292eae1c13c609eabd6d71eef825b55c92.tar.gz |
add 'shuffle' config value and API method #1506 #1089
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -152,6 +152,9 @@ Reveal.initialize({ // Change the presentation direction to be RTL rtl: false, + // Randomizes the order of slides each time the presentation loads + shuffle: false, + // Turns fragments on and off globally fragments: true, @@ -382,6 +385,9 @@ Reveal.next(); Reveal.prevFragment(); Reveal.nextFragment(); +// Randomize the order of slides +Reveal.shuffle(); + // Toggle presentation states, optionally pass true/false to force on/off Reveal.toggleOverview(); Reveal.togglePause(); |