Eg for addChildView & layout component

mountToApp: function mountToApp (container)

                              {

                                             var layout = container.getComponent(‘Layout’);

                                             if(layout)

                                             {

                                                            layout.addChildView(‘home-carousel’, function() {

                                                                           return new HomeSliderView({ container: container });

                                                            });

                                             }}

Leave a comment

Your email address will not be published. Required fields are marked *