|
|
|
|
|
by alinajaf
5243 days ago
|
|
The way I've done this in the past is: 1. Initialize views without models, hidden. 2. Make your 'top-level' view bind to a collections 'reset' event that fires once the model is loaded. At that stage you can give instances of the loaded models to whatever views need them and they can redraw themselves, either by calling a method on them directly or because they're listening for some event that you trigger. |
|