In node-webkit, how can I set the background color of the window while the page is loading? It seems to always be white, but I would either like it to be transparent, or (in my case) a shade of green.
I've tried setting transparent: true in the window option of package.json, but it doesn't seem to have any effect.
(I have also asked this as a question on Stack Overflow at http://stackoverflow.com/questions/20925821/set-loading-background-color-of-node-webkit-window )
I use div with picture, start nw with option "window.show = false", after nw is strated I show the window "win.show()" and picture "programm loading", after page is loaded I hide this div.
--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
This almost gives what I want, but I still see a flash of white just before the content is rendered. Is there a way to avoid this?Also, in kiosk mode (which is my main use case), on a mac,- The page fades to black- Then the desktop appears again- Then there is a quick flash of white- Then my content appearsIs there a way to avoid this, and just go straight to showing the content?
Do you have ajax requests on page? I found the page render lag when loading synchronous ajax requests.
I use div with picture, start nw with option "window.show = false", after nw is strated I show the window "win.show()" and picture "programm loading", after page is loaded I hide this div.