1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-10-28 20:36:13 +01:00

add support for responsively activating reader mode via

This commit is contained in:
Hakim El Hattab
2023-10-06 09:14:23 +02:00
parent 899a45dff6
commit ab52d334df
8 changed files with 146 additions and 6 deletions

View File

@@ -276,6 +276,10 @@ export default {
// Only applies to presentations in reader mode.
readerScrollSnap: 'proximity',
// Responsively activate the reader mode when we reach the specified
// width (in pixels)
readerActivationWidth: null,
// The maximum number of pages a single slide can expand onto when printing
// to PDF, unlimited by default
pdfMaxPagesPerSlide: Number.POSITIVE_INFINITY,