OnsNavigator pushPage(page, [options]) , loads page with a significant delay. (Angular)
Binoy last edited by
I am using onsen UI for Constellation Digital platform application.
while in progress for some pages when using onsNavigator.pushPage() for navigation the page presents with a huge delay after we trigger pushPage().
is there any method to overcome this slow performance.
And how we use ons.preload(templatePaths) in Angular ?
ons.preload looks like it should do the trick.
You just need to pass ons.preload the names of the templates you want to preload and then call
.thenon the promise returned by preload. In the callback function, do whatever you need to - this will run when the templates have loaded.