model.idAttribute
  • References/JavaScript/Backbone/Model

idAttributemodel.idAttribute A model's unique identifier is stored under the id attribute. If you're directly communicating

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
Backbone.emulateHTTP
  • References/JavaScript/Backbone/Sync

emulateHTTPBackbone.emulateHTTP = true If you want to work with a legacy web server that doesn't support Backbone's default REST/HTTP

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

setcollection.set(models, [options]) The set method performs a "smart" update of the collection with the passed list of models

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

extendBackbone.Model.extend(properties, [classProperties]) To create a Model class of your own, you extend Backbone.Model

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

omit

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

groupBy

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