There are 0 repository under lazyload-img topic.
Vue Plugin for vanilla-lazyload
Lazy Load WordPress images and improve page speed.
一个轻量级懒加载库,100行代码,原生JS实现,不依赖任何框架。支持 img、background-image、 class 懒加载和延时加载。
This plugin is a simple Javascript plugin that lets you show images in a mosaic layout. This allows you to lazy load images as well. This plugin was created for a client because they needed a mosaic tiling plugin, however they also wanted control over the specific order of images in such a layout. This created an issue, due to the fact that most mosaic tiling plugins will intelligently fit elements according to the positions they best fit (which is mostly random). This one however, will keep the order of the elements which are fed into it. The downside to this plugin is that elements at the bottom will not line up well. However, if you need a mosaic plugin like this, check it out.
How to create lazy loading product images in magento 2
Most Lazy loading libraries force you to change src to data-src and use a fake/empty image in src. But this library can provide a Lazy Loading feature without changing your image or document elements. Pure JavaScript without JQuery or extra code.
For daily work, I wrote a vue-lazyload plugin for img tag.