2017-11-18
1.0.0
Daniel Martins
All
All
Widgets, Libraries
[Overview]
What is bLazy? bLazy is a lightweight lazy loading image script (less than 1.2KB minified and gzipped). It lets you lazy load and multi-serve your images so you can save bandwidth and server requests. The user will have faster load times and save data loaded if he/she doesn't browse the whole page. For a full list of options, functions and examples go to the blog post: http://dinbror.dk/blog/blazy.
[Detail]
This component is a Outsystems wrapper to the [be]-Lazy javascript image loading.
There are at least a couple of excellent reasons why you should consider lazy loading images for your website:
If your website uses JavaScript to display content or provide some kind of functionality to users, loading the DOM quickly becomes critical. It’s common for scripts to wait until the DOM has completely loaded before they start running. On a site with a significant number of images, lazy loading — or loading images asynchronously — could make the difference between users staying or leaving your website.
This lazy loading solution work by loading images only if the user has scrolled to the location where images would be visible inside the viewport, those images will never be loaded if users never get to that point. This means considerable savings in bandwidth, for which most users, especially those accessing the web on mobile devices and slow-connections, will be thanking you.
More examples of what you can do with [be]-Lazy JS: http://dinbror.dk/blazy/examples/?ref=blog