Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Loading indicator for Backbone network requests
branch: master

UMDified

latest commit 77e8ae7fb1
Sebastiaan Deckers cbas authored
Failed to load latest commit information.
grunt UMDified
tests Backbone Loader
.gitignore Backbone Loader
.jshintrc Backbone Loader
.travis.yml Backbone Loader
Gruntfile.js Backbone Loader
LICENSE.txt Backbone Loader
README.md Updated docs
backbone-loading.js UMDified
bower.json Backbone Loader
package.json UMDified

README.md

backbone-loading Build Status

Loading indicator for Backbone network requests

Usage

Include backbone-loading.js to add the CSS class backbone-loading to the <html/> element in the DOM whenever a Backbone AJAX request is pending. Use this class to show an Ajax spinner in your app. Styling the spinner is not what this library does, only the Backbone integration.

The CSS class is cleared once the request has completed. If multiple Backbone network requests happen in parallel, the CSS class will only be removed once all requests have completed.

License

MIT License

Something went wrong with that request. Please try again.