<p dir="auto">Currently there is no resize event for BrowserWindows, therefore it's impossible to know when it's resized.<br>
A possible workaround would be to listen to the DOM resize event and send it over the IPC.</p>
<p dir="auto">It would be great if electron supported 2 more BrowserWindow events:</p>
<ul dir="auto">
<li>resize</li>
<li>move</li>
</ul>
<p dir="auto">They could work similar to events in <a href="https://github.com/nwjs/nw.js/wiki/Window">nw.js Window</a>. Both of them would be emitted after window is moved or resized. Callback could be called with 2 arguments:</p>
<ul dir="auto">
<li>x and y for move</li>
<li>width and height for resize</li>
</ul>