ngx-imagesloaded
Angular 2+ wrapper package around imagesLoaded by Desandro. Detect when images have been loaded.
Table of Contents
Installation
npm install --save ngx-imagesloaded
yarn add ngx-imagesloaded
Usage
app.module.ts
;; ;
app.component.html
Options
You can pass options input to container element;
This container has background image
or create object inside app.component.ts using interface NgxImagesloadedOptions
and pass to element;
imgOptions: NgxImagesloadedOptions =;
#1 #2
More information about options can be found here.
Events
Container element outputs some events;
For example: Triggered after all images have been loaded with at least one broken image;
Full list of events can be found here.
Changelog
Please see Changelog Page for more information what has changed recently.
Paperwork
Contributing
Please see CONTRIBUTING.md for details.
Issue / Feature Request
To submit an issue correctly, please follow instructions
If you have an idea, and you want to request feature, then read this one
Pull Request
To crearte new pull request and add your piece of work in our project, go through this steps
Credits
License
The MIT License (MIT). Please see License file for more information.