Is there a way to preserve order in which enyo.Application.view and router controller are created ?
At the moment I have a situation where router is created first and I can not create application part that is dependent on Main view of Application...
0 ·
Comments
I recently implemented a different solution for my project. I created an arbitrary loaded property to the kind. When the router fires to change the page, I checked loaded. If it is false, I place an observer (addObserver) on to loaded to fire the new page loading function. I like the versatility it provided me to dictate when the change happens.