Collection
Summary
See http://backbonejs.org/#Collection for full documentation. Provided here to provide documentation for extending classes.
Item Index
Methods
_prepareModel
Syntax
_prepareModel
()
protected
Summary
add
Syntax
add
(
-
models
Summary
Add models to the collection.
Parameters:
-
models
Array.<Backbone.Model|Object>
parse
Syntax
parse
()
protected
Summary
pop
Syntax
pop
()
protected
Summary
push
Syntax
push
()
protected
Summary
remove
Syntax
remove
(
-
models
Summary
Remove models from the collection.
Parameters:
-
models
Array.<Backbone.Model>
reset
Syntax
reset
(
-
opt_models
Summary
Remove and replace all models in the collection.
Parameters:
-
opt_models
Array.<Backbone.Model|Object>=
set
Syntax
set
()
protected
Summary
shift
Syntax
shift
()
protected
Summary
slice
Syntax
slice
()
protected
Summary
Properties
length
Syntax
length
Unknown
Summary
The number of models in the collection.