Lazy loading of scripts? #3250
-
I often include javascript demos (using p5.js, say) in my reveal presentations, usually as follows
This works well, but with many demos it would be good somehow load them lazily and avoid overloading the browser. Is there any way of doing this? The "right" solution may be to include a start button on each one, to avoid them running in the background, but I'd be grateful for any other suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey @AustenLamacraft something like this would be helpful for you?
|
Beta Was this translation helpful? Give feedback.
-
Thanks for this! Do you know if there's a way to do it on switching to a particular slide? |
Beta Was this translation helpful? Give feedback.
Hey @AustenLamacraft something like this would be helpful for you?