@fitpuli/fitpuli-loading-bar v1.0.0-beta.11
FitpuliLoadingBar
A wrapper around Material's progress bar which appears if:
- route is changing or
- there are ongoing http request(s).
This library was generated with Angular CLI version 8.2.14.
Code scaffolding
Run ng generate component component-name --project fitpuli-loading-bar
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project fitpuli-loading-bar
.
Note: Don't forget to add
--project fitpuli-loading-bar
or else it will be added to the default project in yourangular.json
file.
Usage
Add module to imports:
@NgModule({
declarations: [],
imports: [
FitpuliLoadingBarModule,
],
exports: [],
})
Build
Run ng build fitpuli-loading-bar
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build fitpuli-loading-bar
, go to the dist folder cd dist/fitpuli-loading-bar
and run npm publish --access public
.
Running unit tests
Run ng test fitpuli-loading-bar
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago