model.changed
  • References/JavaScript/Backbone/Model

changedmodel.changed The changed property is the internal hash containing all the attributes that have changed since its last

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

shuffle

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

lengthcollection.length Like an array, a Collection maintains a length property, counting the number of models it contains

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
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
collection.findLastIndex
  • References/JavaScript/Backbone/Collection

findLastIndex

2025-01-10 15:47:30
router.route
  • References/JavaScript/Backbone/Router

routerouter.route(route, name, [callback]) Manually create a route for the router, The route argument may be a

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

"all" â this special event fires for any triggered event, passing the event name as the first argument followed by all trigger arguments.

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

resetcollection.reset([models], [options]) Adding and removing models one at a time is all well and good, but sometimes you have

2025-01-10 15:47:30