1.0.1 • Published 9 years ago

backbone-xhr-events v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

backbone-xhr-events

Do more than what the default Backbone Model/Collection request event does for you. The primary benefits are

  • Provide robust lifecycle events (before-send, after-send, success, error, complete)
  • Emit type specific XHR events to allow for focused binding
  • Give ability to see if a model currently has any pending XHR activity
  • Provide a global event bus to bind to all Model/Collection XHR activity
  • Allow requests to be intercepted to, for example, return cached content
  • Add ability to intercept and override response data before it is returned to the Model/Collection
  • Provide event forwarding capabilities so other objects can simulate XHR activity to match another Model/Collection
  • Make all event names and additional attributes overrideable to meet the needs of your particular project
  • Give external entities a way to observe ajax activity on your Collections and Models

View the installation and API docs for a better docs experience

1.0.1

9 years ago

1.0.0

9 years ago

0.12.0

9 years ago

0.11.2

9 years ago

0.11.1

9 years ago

0.11.0

9 years ago

0.10.0

9 years ago

0.9.5

9 years ago

0.9.4

9 years ago

0.9.3

9 years ago

0.9.2

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago

0.8.2

9 years ago

0.8.1

10 years ago

0.8.0

10 years ago

0.7.1

10 years ago

0.7.0

10 years ago

0.6.1

10 years ago

0.6.0

10 years ago