collection.at
  • References/JavaScript/Backbone/Collection

atcollection.at(index) Get a model from a collection, specified by index. Useful if your collection is sorted, and if your collection

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

urlcollection.url or collection.url() Set the url property (or function) on a collection to reference its location on the

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

pushcollection.push(model, [options]) Add a model at the end of a collection. Takes the same options as

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

size

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

without

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

parsecollection.parse(response, options) parse is called by Backbone whenever a collection's models are returned by the server

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

max

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