How we can track the status of view render in backbone marionette.
for example view need to fetch some data from server to render it.
App.main.currentView.ChatContactRegion.show(new ChatContactsView());
Here how I can check, whether view rendered successfully to given region? Is there any callback for show function?
Thanks
Peter
So, in your example, the
ChatContactsViewinstance passed toshow()will have anonShowevent triggered.You can hook into that event in your
ChatContactsViewclass definition:More detail in the docs