Home » Backbone.js collection.get()

Backbone.js collection.get()

by Online Tutorials Library

Backbone.js collection.get()

The Backbone.js collection get method is used to retrieve a model from a collection, specified by an id, a Cid, or by passing in a model.

Syntax:


Parameter explanation:

id: It is used to get the model from the collection.

Let’s take an example.

See this example:

You may also like