collection.size
  • References/JavaScript/Backbone/Collection

size

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

toJSONcollection.toJSON([options]) Return an array containing the attributes hash of each model (via

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

attributesmodel.attributes The attributes property is the internal hash containing the model's state â usually (but not

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

slicecollection.slice(begin, end) Return a shallow copy of this collection's models, using the same options as native

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

without

2025-01-10 15:47:30
error event
  • References/JavaScript/Backbone/Events

"error" (model_or_collection, response, options) â when a model's or collection's request to the server has failed.

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

$elview.$el A cached jQuery object for the view's element. A handy reference instead of re-wrapping the DOM element all the time

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

delegateEventsdelegateEvents([events]) Uses jQuery's on function to provide declarative callbacks for DOM events within

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

createcollection.create(attributes, [options]) Convenience to create a new instance of a model within a collection. Equivalent to

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

reduce (foldl, inject)

2025-01-10 15:47:30