Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
OnsNavigator pushPage(page, [options]) , loads page with a significant delay. (Angular)
-
Hello,
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
.then
on the promise returned by preload. In the callback function, do whatever you need to - this will run when the templates have loaded.
-
@emccorson said in OnsNavigator pushPage(page, [options]) , loads page with a significant delay. (Angular) 8 ball pool:
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
.then
on the promise returned by preload. In the callback function, do whatever you need to - this will run when the templates have loaded.Thank you very much for your quick reply, much appreciated.