Vtex Lazyload
A Lazysizes based plugin Lazyload for Vtex Components.
Instalation
$ npm install vtex-lazyload
or download the file
Usage
After import/call files on page, its initialize automatically
<!-- Vitrine --> $product.GetImageTag(30)
<!-- Placeholder -->
Setting custom styles
You can use the following classes to custom style:
License
Vtex Lazyload and Lazysizes is open-sourced software licensed under the MIT license.
Credits
Lazyzises and all contributors!