Shaun Byrnes
Thu, 18 Dec 2014 22:05:43 GMT
It seems like we almost have this with loadContent(), but I want to load an actual template page if possible :)
bump
When you initialize View it SHOULD have full pages structure. But you may keep it with empty dummy page, for example: --- <div class="view"> <div class="pages"> <div class="page" data-page="dymmy-page"></div> </div> </div> --- And then when you init View with addView you may just call reload method right after: --- var view = app.addView('.view'); view.reloadPage('...url to page...');
Hey mate, thanks for the tip! Works perfectly! :)