Home » Backbone.js model.previous()

Backbone.js model.previous()

by Online Tutorials Library

Backbone.js model.previous()

The Backbone.js previous model specifies the previous value of the changed attributes.

Syntax:

Parameter explanation:

attributes: It defines the property of a model.

Let’s take an example.

See this example:

You may also like