Home » Backbone.js model.changedAttributes()

Backbone.js model.changedAttributes()

by Online Tutorials Library

Backbone.js model.changedAttributes()

The Backbone.js changedAttributes model returns the hash of model’ s attributes that have been changed since the last set. If there are no attributes, it becomes false.

Syntax:

Parameter explanation:

attributes: attributes define the property of a model.

Let’s take an example.

See this example:

You may also like