hafen / lazyrmd

Render R Markdown outputs lazily
Other
44 stars 1 forks source link

Support lazy loading of raster images #13

Open hafen opened 8 years ago

hafen commented 8 years ago

This should be extremely straightforward.

schloerke commented 8 years ago

Would it be possible to make 'anything' lazy load? Like make the whole chunk just an iframe widget that points to the output.

hafen commented 8 years ago

Beyond images and htmlwidgets, are there other outputs that would need this? For images, I'd rather directly use recliner.js's native handling of img src tags (http://sourcey.com/recliner/#images) because I've had some performance issues with iframes / htmlwidgets on Chrome.