Merge pull request #2286 from asottile/hash_without_history_2211

Add new 'hash: true' option which uses replaceState for url
This commit is contained in:
Hakim El Hattab authored and GitHub committed 2018-12-19 10:52:15 +01:00
commit 6ef565c9fb
2 files changed
+19 -11

No files matched your search

+4 -1
View File
@@ -260,9 +260,12 @@ Reveal.initialize({
// Display the page number of the current slide
slideNumber: false,
// Push each slide change to the browser history
// Push each slide change to the browser history. Implies `hash: true`
history: false,
// Change the hash when changing slides -- impacts browser history with `history: true`
hash: false,
// Enable keyboard shortcuts for navigation
keyboard: true,