How to use the ChildViewContainer function from backbone

Find comprehensive JavaScript backbone.ChildViewContainer code examples handpicked from public code repositorys.

38
39
40
41
42
43
44
45
46
// we need to own initialize, this includes marionette.View()
// AND backbone.View()
constructor: function(options){
    options || (options = {});

    this.children = new backbone.ChildViewContainer();

    /* >>> BEGIN marionette.View() override */
     _.bindAll(this, 'render', 'invalidateView');
fork icon6
star icon35
watch icon14