title: Detect full-screen width & height in node webkit
body: <p>I'm able to get the node webkit app to load full screen with this in my html's javascript:</p>
  
  <pre><code>"use strict";
  
  const gui = require('nw.gui');
  var win = gui.Window.get();
  win.enterFullscreen();
  </code></pre>
  
  <p>So after reading <a href="https://github.com/nwjs/nw.js/wiki/Screen" rel="nofollow noreferrer">https://github.com/nwjs/nw.js/wiki/Screen</a> , I tried this:</p>
  
  <pre><code>"use strict";
  
  const gui = require('nw.gui');
  var win = gui.Window.get();
  var screen = gui.Screen.Init();
  
  var onDisplayBoundsChanged = function(screen) {
    alert("hey");
  }
  
  gui.Screen.on('displayBoundsChanged', onDisplayBoundsChanged);
  
  // win.enterFullscreen();
  win.maximize();
  
  window.client = new GameClient(screen);
  </code></pre>
  
  <p>I never see the alert.
  Ideally I want to delay</p>
  
  <pre><code>window.client = new GameClient(screen);
  </code></pre>
  
  <p>until after the application fullscreens and has a new, full screen bounds I can use.</p>
  
  <p>How do I detect full-screen and get the width &amp; height?</p>