Load images, scripts and CSS with XHR progress events where supported
Want to see pretty graphs? Log in now!
npm install preload
|1||downloads in the last week|
|9||downloads in the last month|
|Last Published By|
|Version||0.1.0 last updated 6 months ago|
|Dependencies||once, inherits, insert-css, xhr|
Load images, scripts and CSS with XHR progress events where supported.
This has been written more for large, script/asset-heavy pages such as games or WebGL demos where the page is already going to take 5+ seconds to load. As such, it's not as small as it could be - I'd recommend LazyLoad if you're looking for a lightweight solution.
Work in progress.
MIT. See LICENSE.md for details.