Add new 'hash: true' option which uses replaceState for url

Resolves #2211
This commit is contained in:
Anthony Sottile committed 2018-12-02 16:49:06 -08:00
1 parent 87d6af2cb4
commit fd6245bb28
2 files changed
+19 -11

No files matched your search

+4 -1
View File
@@ -259,9 +259,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,