model.urlRoot
  • References/JavaScript/Backbone/Model

urlRootmodel.urlRoot or model.urlRoot() Specify a urlRoot if you're using a model outside of a collection, to

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

every (all)

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

sample

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

constructor / initializenew Router([options]) When creating a new router, you may pass its

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

constructor / initializenew Model([attributes], [options]) When creating an instance of a model, you can pass in the initial values

2025-01-10 15:47:30
Backbone.emulateJSON
  • References/JavaScript/Backbone/Sync

emulateJSONBackbone.emulateJSON = true If you're working with a legacy web server that can't handle requests encoded as ap

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

previousAttributesmodel.previousAttributes() Return a copy of the model's previous attributes. Useful for getting a diff between

2025-01-10 15:47:30
View.extend
  • References/JavaScript/Backbone/View

extendBackbone.View.extend(properties, [classProperties]) Get started with views by creating a custom view class. You'll want to

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

constructor / initializenew Backbone.Collection([models], [options]) When creating a Collection, you may choose to pass in the initial

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

partition

2025-01-10 15:47:30