What is a collection in Backbone.js?

devquora
devquora

Posted On: Feb 22, 2018

 

In Backbone.js, the collection is used to represent ordered set of models. Any event in model triggers an event in collection directly. For example, you can bind “change” event to be notified in a case when any model in the collection has been modified.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Backbone js Interview Questions

    Explain what is Backbonejs?

    Backbone.js is a client-side (Model, View, Controller) MVC-based JavaScript framework.It purely is written in Javascrip..

    Backbone js Interview Questions

    List Dependencies of using BackboneJs?

    Backbone’s Js only hard dependency is Underscore.js ( >= 1.8.3). For RESTful persistence and DOM manipulation with..

    Backbone js Interview Questions

    What is the use of BackboneJS route?

    The Backbone.js router is used to change the URL fragment or hashes of an application to create bookmarkable and shareab..