Search code examples
backbone.js

Backbone-Event: add array of models to collection


If I add an array of models to a collection, is backbone calling callback for each model inside of this array an add-event? I was wandering, because my view, listening to add-events of this collection, get's rendered that often, although I'm just adding one array of models to the collection.


Solution

  • Yes look at the documentation.