Fork me on GitHub
Show:

Collection

Summary

See http://backbonejs.org/#Collection for full documentation. Provided here to provide documentation for extending classes.

Item Index

Properties

Methods

_prepareModel

Syntax

_prepareModel

() protected

Summary

add

Syntax

add

(
  • models
)

Summary

Add models to the collection.

Parameters:

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:

reset

Syntax

reset

(
  • opt_models
)

Summary

Remove and replace all models in the collection.

Parameters:

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.

model

Syntax

model

Function

Summary