question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Function for showing a loading animation while Alva or the Preview loads

See original GitHub issue

We 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:closed
  • Created 6 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
lkuechlercommented, Mar 22, 2018

@goprime10 I just merged it in to the Master. Thank you for your great contribution 😃

1reaction
lkuechlercommented, Mar 22, 2018

@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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found