Angular 2 Loaders.css spinners
This repository contains Angular 2 component that implements Loaders.css spinners.
Check out the demo of Loaders.css
- NPM - Node package manager
npm install angular2-loaders-css --save
Make sure you have Loaders.css installed and its CSS is linked.
LoadersCssComponent component and use it as a directive, e.g.:
Note that you have to use loader-attribute to choose a loader that'll be displayed, possible values are:
Also you can pass loaderClass-attribute and specify CSS class for a loader if you want to change loader's color, e.g.:
The repository code is open-sourced software licensed under the MIT license.