Skip to content

Commit b85033a

Browse files
author
Andres Pavia Marckwordt
committed
adding explanation for win.focus() API
1 parent 58781b1 commit b85033a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sections/windows/windows.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h2>ProTip</h2>
5454
<button class="demo-button no-display" id="focus-on-modal-window">Focus on Demo</button>
5555
</div>
5656
<p>In this demo we create a new window and listen for <code>move</code> and <code>resize</code> events on it. Click the demo button, change the new window and see the dimensions and position update here, above.</p>
57-
<p>Click the focus on Window button to switch focus to the modal window if it's not visible anymore.</p>
57+
<p>Click the focus on window button to switch focus to the new window if it's not visible anymore.</p>
5858
<p>There are a lot of methods for controlling the state of the window such as the size and location as well as events to listen to for window changes. Visit the <a href="http://electron.atom.io/docs/api/browser-window">documentation<span class="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
5959
<h5>Renderer Process</h5>
6060
<pre><code data-path="renderer-process/windows/manage-window.js"></pre></code>

0 commit comments

Comments
 (0)