ng-bootstrap-spinner
🍺 Hi there, Ng Bootstrap Spinner for Angular Lovers <3, Thanks...
Installation
Using NPM:
npm i ng-bootstrap-spinner npm i bootstrap
In you angular.json
import bootstrap css
"styles": // "src/styles.scss", "./node_modules/bootstrap/dist/css/bootstrap.min.css"
Or
In your styles.scss
file import bootstrap css
/* You can add global styles to this file, and also import other style files */@;
Usage
Import direct in your app.module.ts
file:
;; //import NgSpinnerModule from ng-bootstrap-spinner; @
Then use wherever you want !! Goodluck:
Note
- size: Size
size in rem
- color: You can give any bootstrap color -
primary, secondary, danger etc...
- type: Add spinner type -
grow
orborder
Author
Ajay Marathe
Copyright and License
Copyright 2019 Ajay Marathe. Code released under the MIT license.