model.has
  • References/JavaScript/Backbone/Model

hasmodel.has(attribute) Returns true if the attribute is set to a non-null or non-undefined value.

2025-01-10 15:47:30
model.defaults
  • References/JavaScript/Backbone/Model

defaultsmodel.defaults or model.defaults() The defaults hash (or function) can be used to specify the default attributes for

2025-01-10 15:47:30
model.pairs
  • References/JavaScript/Backbone/Model

pairs

2025-01-10 15:47:30
collection.findLastIndex
  • References/JavaScript/Backbone/Collection

findLastIndex

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

"change:[attribute]" (model, value, options) â when a specific attribute has been updated.

2025-01-10 15:47:30
collection.initial
  • References/JavaScript/Backbone/Collection

initial

2025-01-10 15:47:30
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
model.hasChanged
  • References/JavaScript/Backbone/Model

hasChangedmodel.hasChanged([attribute]) Has the model changed since its last

2025-01-10 15:47:30
collection.fetch
  • References/JavaScript/Backbone/Collection

fetchcollection.fetch([options]) Fetch the default set of models for this collection from the server,

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

onobject.on(event, callback, [context])Alias: bind Bind a callback function to an object. The callback

2025-01-10 15:47:30