84
Backbone.js model.idAttribute()
The Backbone.js IdAttribute model gives us the model’s unique identifier which contains the name of the class member that will be used as id.
Syntax:
Let’s take an example.
See this example:
The Backbone.js IdAttribute model gives us the model’s unique identifier which contains the name of the class member that will be used as id.
Syntax:
Let’s take an example.
See this example: