Manifest Setting for Background Color

I use NWJS as an screensaver slideshow.

I’d want to be able to specify the initial background color of the window in the manifest file. Right now NWJS starts with an white background (few Milliseconds) until the index.html is loaded, which sets the color to black.

Example

{
  "main": "index.html",
  "name": "nw-demo",
  "window": {
    "title": "node-webkit demo",
    "background-color": "#000000"
  }
}

Author: Fantashit

2 thoughts on “Manifest Setting for Background Color

  1. @rogerwang any news about this feature?

    I see sometime the app stucks into a white screen (before to load the DOM), so we have no chance to put some kind of loader, it could be nice to have at least a background color/image.

Comments are closed.