Home » Backbone.js collection.at()

Backbone.js collection.at()

by Online Tutorials Library

Backbone.js collection.at()

The Backbone.js collection at method is used to retrieve model from a collection by using specified index.

Syntax:


Parameter explanation:

index: It species an index position where model can be retrieved from a collection.

Let’s take an example.

See this example:

You may also like