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

wherecollection.where(attributes) Return an array of all the models in a collection that match the passed attributes. Useful

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

indexOf

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

every (all)

2025-01-10 15:47:30
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
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
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