Backbone.js calling render after collection is populated

后端 未结 4 1233
情书的邮戳
情书的邮戳 2021-01-28 14:49

I\'m trying to call render after fetch of a collection.

In my initialize method I have:

this.collection.bind(\'all\', this.render, this);
this.collection         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-28 15:19

    Looking at Backbone's Catalog of Events sounds like you want to listen to the reset event

提交回复
热议问题