Skip to content

FutoRicky/ember-request-observer

Repository files navigation

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!

About

Ember service to observe when a request is in progress

Resources

License

Stars

Watchers

Forks

Packages