Lazyload for Vtex Components
npm install vtex-lazyload
$ npm install vtex-lazyload or download the file
html
`
Usage
After import/call files on page, its initialize automatically
`html
`
`html
`
Setting custom styles
You can use the following classes to custom style:
`css
.is--lazyloaded { / Uses when element is visible / }
.has--lazyloading { / Uses when element is loading / }
.has--lazyerror { / Uses when element has an error / }
``