Router
  • References/JavaScript/Backbone/Router

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

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

indexOf

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

elview.el All views have a DOM element at all times (the el property), whether they've already been inserted into the page

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

sample

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

partition

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.cid
  • References/JavaScript/Backbone/Model

cidmodel.cid A special property of models, the cid or client id is a unique identifier automatically assigned to all models

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