Function for showing a loading animation while Alva or the Preview loads
See original GitHub issueWe need a function that can be called to create a BrowserWindow while something is loading in the application. The BrowserWindow should load a simple HTML file. This way we don’t have to wait for react or other scripts to initialise.
In this file we can implement the loading animation from issue #115.
It should be possible to close the loading BrowserWindow from outside to be able to control it inside a event listener for a different window.
The function should then be implemented inside src/electron/electron.ts
to show the loading spinner until the main application is ready.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
How to show Page Loading div until the page has finished ...
This script will add a div that covers the entire window as the page loads. It will show a CSS-only loading spinner automatically....
Read more >CSS Loading Animations: How to Make Them + 15 Examples
Learn how to create a loading animation with CSS that will keep visitors engaged while content loads on your site.
Read more >How to Add Loading Animation to Website in 2 Minutes!
Add loading animation screen to website in just 2 minutes using event listener to hide the loader automatically when loading is completed.
Read more >Show Loading Div While The Page Loads Completely
Learn how you can display a loading animation while the page loads. This is implements using some simple jQuery.
Read more >Creating Custom Loading Screens | Babylon.js Documentation
Learn how to create custom loading screens in Babylon.js. ... Starting with Babylon.js 2.3 the loading screen (the screen used when loading assets...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@goprime10 I just merged it in to the Master. Thank you for your great contribution 😃
@goprime10 this was breaking the preview when the components where finished loading. The way i changed it all loading elements are removed when the load is finished 😃