Hi again,
Right now, there is an animated loading indicator that shows in the browser as the app instance is being spun up, but it’s obviously very very basic. Is there anyway to customize this at all? Ideally, there’d be maybe a “loading…” message with a logo or something and (ideally) a progress bar.
Is this possible?
Thanks!
-John
Hello, how are you? Query in version 3.2, how do you change the gif of the startup loader?
Hi John,
there are a couple of options to control the loader icon that is currently displayed:
<div id=”my-loading-screen” style=”position:absolute; z-index:100; width:100%; height:100%; background-color: darkorange”>
<div style=”font-size: 34pt; text-align: center”>
LOADING…
</div>
</div>
<script>
Wisej.onLoad = function () {
document.getElementById(“my-loading-screen”).remove();
}
</script>
</body>
Please note that “style=”position:absolute; z-index:100;” will not be needed anymore with the next Wisej build(s). It´s necessary because of a background definition in the default qooxdoo theme that will be removed.
The Wisej.onLoad event is fired when the Wisej loader has finished, thus it removes the div in this sample.
Hope that helps.
Best regards
Frank
Please login first to submit.