Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'ready-to-show' event #184

Open
rafajaques opened this issue Nov 12, 2016 · 0 comments
Open

Add 'ready-to-show' event #184

rafajaques opened this issue Nov 12, 2016 · 0 comments
Milestone

Comments

@rafajaques
Copy link
Owner

rafajaques commented Nov 12, 2016

To avoid screen blink when loading, it's better to wait for ready-to-show.

Add show: false to BrowserWindow parameters and wait for event.

window.on('ready-to-show', () => {
   window.show();
}
@rafajaques rafajaques added this to the 0.0.13 milestone Nov 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant