How to create a model in backbone.js?
Answer / Zakir Abbas Baaqri
A Backbone Model can be created by extending the Backbone.Model constructor and defining its attributes, for example: var MyModel = Backbone.Model.extend({})nTo set attributes, you can use the set method: myModel.set('attributeName', 'attributeValue')
| Is This Answer Correct ? | 0 Yes | 0 No |
When and by whom the backbone.js was released?
Describe backbone events?
What are the disadvantages of backbone.js?
What is the most powerful capabilities of the modelbinder ?
What is models in backbone.js?
How can you use underscore templates in backbone.js views?
What is backbone events ?
What is the function of setelement?
In backbone view, what is the use of setelement ?
Explain what is converter in backbone.js?
How do I fetch a single model in Backbone?
What is the use of backbone.js router?