mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-09-01 18:54:29 +02:00
Add new 'hash: true' option which uses replaceState for url
Resolves #2211
This commit is contained in:
@@ -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,
|
||||
|
||||
|
Reference in New Issue
Block a user