Home » Backbone.js model.attributes()

Backbone.js model.attributes()

by Online Tutorials Library

Backbone.js model.attributes()

The Backbone.js attributes define the property of a model and uses the set() method to update the attributes.

Syntax:

Let’s take an example.

See this example:

You may also like