ember-request-observer

0.2.1 • Public • Published

Ember-request-observer

Build Status Ember Observer Score

Ember service to observe when a request is in progress

Versions

Current version is running ember-cli >= 3.1.0

Installation

ember install ember-request-observer

Usage

Inject the service to controller or component

requestObserver: inject.service('request-observer')

Use the requestInProgress method like so: requestObserver.requestInProgress

result description
true a request is in progress
false no requests in progress

It can be used on the controller/component as well as in the template like so:

{{requestObserver.requestInProgress}}

Contributions

All contributions are welcomed and encouraged.

Please make all pull requests to the dev branch.

Thanks!

Package Sidebar

Install

npm i ember-request-observer

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

4.86 kB

Total Files

7

Last publish

Collaborators

  • futoricky