lazy load images or any element has 'srs' or 'srcset' attribute
npm install @impactor/ngx-lazy-loadlazy load images or any element has 'srs' or 'srcset' attribute
``html`
The image is loaded only when the element is about to be displayed in the screen.
resulting in maximizing the speed of your app, and saving in your bandwidth.
also, it helps you get the maximum score in platforms that measure your app's speed.
Use placeholder image.
A placeholder is a very light image that is displayed temporarily until the original image loaded.
`html`
Load the best suited image based on the device's screen size using data-srcset
`html``