sync event
  • References/JavaScript/Backbone/Events

"sync" (model_or_collection, response, options) â when a model or collection has been successfully synced with the server.

2025-01-10 15:47:30
Backbone.listenToOnce
  • References/JavaScript/Backbone/Events

listenToOnceobject.listenToOnce(other, event, callback) Just like

2025-01-10 15:47:30
change event
  • References/JavaScript/Backbone/Events

"change" (model, options) â when a model's attributes have changed.

2025-01-10 15:47:30
remove event
  • References/JavaScript/Backbone/Events

"remove" (model, collection, options) â when a model is removed from a collection.

2025-01-10 15:47:30
route event
  • References/JavaScript/Backbone/Events

"route" (route, params) â Fired by the router when any route has been matched.

2025-01-10 15:47:30
update event
  • References/JavaScript/Backbone/Events

"update" (collection, options) â single event triggered after any number of models have been added or removed from a collection.

2025-01-10 15:47:30
add event
  • References/JavaScript/Backbone/Events

"add" (model, collection, options) â when a model is added to a collection.

2025-01-10 15:47:30
error event
  • References/JavaScript/Backbone/Events

"error" (model_or_collection, response, options) â when a model's or collection's request to the server has failed.

2025-01-10 15:47:30
destroy event
  • References/JavaScript/Backbone/Events

"destroy" (model, collection, options) â when a model is destroyed.

2025-01-10 15:47:30
sort event
  • References/JavaScript/Backbone/Events

"sort" (collection, options) â when the collection has been re-sorted.

2025-01-10 15:47:30