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.
How to use ons-loading-placeholder?
-
How to use ons-loading-placeholder any idea?
I just put a
div
in the page?<div ons-loading-placeholder="page.html"> Loading... </div>
But how to control when to show or hide it when I need it?
ng-show
?
-
@wetfeet I think
ons.resolveLoadingPlaceholder()
is the only way to interact with that. This is a feature that comes from v1, when everything was an AngularJS directive. To be honest I haven’t use it at all :sweat_smile:
-
OK. Anyway, what is the easiest way to show a busy loading popup like the one below? Use ons-modal? I haven’t been able to easily create the white div box and spinning circle icon.
-
@wetfeet check out this example.