npm

ng2-busy
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ng2-busy

Weekly Downloads

7

Version

1.0.4

License

MIT

Last publish

Collaborators

  • marcinmichalik