Router.extend
  • References/JavaScript/Backbone/Router

extendBackbone.Router.extend(properties, [classProperties]) Get started by creating a custom router class. Define actions that are

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

previousmodel.previous(attribute) During a "change" event, this method can be used to get the previous value of a changed

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

isValidmodel.isValid() Run validate to check the model

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

getcollection.get(id) Get a model from a collection, specified by an

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

"reset" (collection, options) â when the collection's entire contents have been reset

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

indexOf

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

lastIndexOf

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

isNewmodel.isNew() Has this model been saved to the server yet? If the model does not yet have an id, it is considered

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

reduceRight (foldr)

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

modelcollection.model([attrs], [options]) Override this property to specify the model class that the collection contains. If defined

2025-01-10 15:47:30