ng2-busy
Demo
https://MarcinMichalik.github.io/ng2-busy/
Table of contents
About
Ng2-busy can show busy/loading indicators on any promise, or on any Observable's subscription. Rewritten from angular2-busy, and add/modify some new features in terms of Angular 2.
Installation
Install through npm:
npm install --save ng2-busy
Then include in your apps module:
@NgModule({
imports: [
Ng2BusyModule.forRoot()
]
})
export class MyModule {}
Usage without a module bundler
<script src="node_modules/bsmodal/bundles/bsmodal.umd.js"></script>
<script>
// everything is exported bsmodal namespace
</script>
Documentation
All documentation is auto-generated from the source via compodoc and can be viewed here: https://MarcinMichalik.github.io/ng2-busy/docs/
Development
Prepare your environment
- Install Node.js and NPM
- Install local dev dependencies:
npm install
while current directory is this repo
Development server
Run npm start
to start a development server on port 8000 with auto reload + tests.
Testing
Run npm test
to run tests once or npm run test:watch
to continually run tests.
Release
- Bump the version in package.json (once the module hits 1.0 this will become automatic)
npm run release
License
MIT