1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-10-26 03:36:17 +01:00

finishing touches on reader mode progress bar

This commit is contained in:
Hakim El Hattab
2023-10-10 13:34:33 +02:00
parent 234799114a
commit a6abd0423e
8 changed files with 130 additions and 58 deletions

View File

@@ -276,9 +276,15 @@ export default {
// Only applies to presentations in reader mode.
readerScrollSnap: 'proximity',
// Enables and configure the reader mode scroll bar.
// - 'auto': Show the scrollbar while scrolling, hide while idle
// - true: Always show the scrollbar
// - false: Never show the scrollbar
readerScrollBar: 'auto',
// Responsively activate the reader mode when we reach the specified
// width (in pixels)
readerActivationWidth: 800,
readerActivationWidth: null,
// The maximum number of pages a single slide can expand onto when printing
// to PDF, unlimited by default