1.0.4 • Published 7 years ago

ng2-busy v1.0.4

Weekly downloads
11
License
MIT
Repository
github
Last release
7 years ago

ng2-busy

Build Status codecov npm version devDependency Status GitHub issues GitHub stars GitHub license

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

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago