mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
separate reader mode into individual controller, add scroll triggers for fragments
This commit is contained in:
parent
6aa1eae796
commit
f26d31570e
15 changed files with 415 additions and 211 deletions
|
|
@ -26,7 +26,7 @@ export default class SlideContent {
|
|||
shouldPreload( element ) {
|
||||
|
||||
// Prefer an explicit global preload setting
|
||||
let preload = this.Reveal.getConfig().preloadIframes;
|
||||
let preload = this.Reveal.getConfig().preloadIframes || this.Reveal.isReaderMode();
|
||||
|
||||
// If no global setting is available, fall back on the element's
|
||||
// own preload setting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue