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

partition

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

omit

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.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