You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: sections/communication/ipc.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ <h1>
9
9
<h3>The <code>ipc</code> (inter-process communication) module allows you to send and receive synchronous and asynchronous messages between the main and renderer processes.</h3>
10
10
11
11
<p>There is a version of this module available for both processes: <code>ipcMain</code> and <code>ipcRenderer</code>.</p>
12
-
<p>Open the full API documentation for the <ahref="http://electron.atom.io/docs/latest/api/ipc-main">main process<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> and the <ahref="http://electron.atom.io/docs/latest/api/ipc-renderer/">renderer process<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12
+
<p>Open the full API documentation for the <ahref="http://electron.atom.io/docs/api/ipc-main">main process<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> and the <ahref="http://electron.atom.io/docs/api/ipc-renderer/">renderer process<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/media/desktop-capturer.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ <h1>
8
8
</h1>
9
9
<h3>The <code>desktopCapturer</code> module in Electron can be used to access any media, such as audio, video, screen and window, that is available through the <code>getUserMedia</code> web API in Chromium.</h3>
10
10
11
-
<p>Open the <ahref="http://electron.atom.io/docs/v0.37.5/api/desktop-capturer">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
11
+
<p>Open the <ahref="http://electron.atom.io/docs/api/desktop-capturer">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/media/pdf.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ <h1>
8
8
</h1>
9
9
<h3>The <code>browser window</code> module in Electron has a property, <code>webContents</code>, which allows your app to print as well as print to PDF.</h3>
10
10
11
-
<p>Open the <ahref="http://electron.atom.io/docs/v0.36.0/api/web-contents/#webcontents-print-options">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
11
+
<p>Open the <ahref="http://electron.atom.io/docs/api/web-contents/#webcontentsprintoptions">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/menus/menus.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ <h3>The <code>menu</code> and <code>menuitem</code> modules can be used to creat
10
10
11
11
<p>There are two kinds of menus: the application (top) menu and context (right-click) menu.</p>
12
12
13
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/menu">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13
+
<p>Open the <ahref="http://electron.atom.io/docs/api/menu">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/native-ui/dialogs.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ <h3>The <code>dialog</code> module in Electron allows you to use native system d
10
10
11
11
<p>This is a main process module because this process is more efficient with native utilities and it allows the call to happen without interupting the visible elements in your page's renderer process.</p>
12
12
13
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/dialog/">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13
+
<p>Open the <ahref="http://electron.atom.io/docs/api/dialog/">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/native-ui/ex-links-file-manager.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ <h1>
9
9
<h3>The <code>shell</code> module in Electron allows you to access certain native elements like the file manager and default web browser.</h3>
10
10
11
11
<p>This module works in both the main and renderer process.</p>
12
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/shell">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12
+
<p>Open the <ahref="http://electron.atom.io/docs/api/shell">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/native-ui/tray.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ <h1>
9
9
<h3>The <code>tray</code> module allows you to create an icon in the operating system's notification area.</h3>
10
10
<p>This icon can also have a context menu attached.</p>
11
11
12
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/tray">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12
+
<p>Open the <ahref="http://electron.atom.io/docs/api/tray">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13
13
</div>
14
14
</header>
15
15
@@ -34,7 +34,7 @@ <h5>Renderer Process</h5>
34
34
<divclass="demo-protip">
35
35
<h2>ProTip</h2>
36
36
<strong>Tray support in Linux.</strong>
37
-
<p>On Linux distributions that only have app indicator support, users will need to install <code>libappindicator1</code> to make the tray icon work. See the <ahref="http://electron.atom.io/docs/latest/api/tray">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more details about using Tray on Linux.</p>
37
+
<p>On Linux distributions that only have app indicator support, users will need to install <code>libappindicator1</code> to make the tray icon work. See the <ahref="http://electron.atom.io/docs/api/tray">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more details about using Tray on Linux.</p>
Copy file name to clipboardExpand all lines: sections/system/app-sys-information.html
+3-3
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ <h3>With a few Node.js and Electron modules you can gather information about the
23
23
</div>
24
24
<p>The main process <code>app</code> module can be used to get the path at which your app is located on the user's computer.</p>
25
25
<p>In this example, to get that information from the renderer process, we use the <code>ipc</code> module to send a message to the main process requesting the app's path.</p>
26
-
<p>See the <ahref="http://electron.atom.io/docs/latest/api/app">app module documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
26
+
<p>See the <ahref="http://electron.atom.io/docs/api/app">app module documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
<p>The <code>process</code> module is built into Node.js (therefore you can use this in both the main and renderer processes) and in Electron apps this object has a few more useful properties on it.</p>
46
46
<p>The example below gets the version of Electron in use by the app.</p>
47
-
<p>See the <ahref="http://electron.atom.io/docs/latest/api/process">process documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
47
+
<p>See the <ahref="http://electron.atom.io/docs/api/process">process documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
<p>The Electron <code>screen</code> module retrieves information about screen size, displays, cursor position, etc. In the example below we retrieve the dimensions of the monitor in use.</p>
97
97
98
-
<p>See the full <ahref="http://electron.atom.io/docs/latest/api/screen">screen documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
98
+
<p>See the full <ahref="http://electron.atom.io/docs/api/screen">screen documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for more.</p>
Copy file name to clipboardExpand all lines: sections/system/clipboard.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ <h1>
9
9
<h3>The <code>clipboard</code> module provides methods to perform copy and paste operations.</h3>
10
10
<p>This module also has methods for copying text as markup (HTML) to the clipboard.</p>
11
11
12
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/clipboard">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12
+
<p>Open the <ahref="http://electron.atom.io/docs/api/clipboard">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/system/protocol-handler.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ <h1>
9
9
<h3>The <code>app</code> module provides methods for handling protocols.</h3>
10
10
<p>These methods allow you to set and unset the protocols your app should be the default app for. Similar to when a browser asks to be your default for viewing web pages.</p>
11
11
12
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/app">full app API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
12
+
<p>Open the <ahref="http://electron.atom.io/docs/api/app">full app API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/windows/crash-hang.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ <h1>
8
8
</h1>
9
9
<h3>The <code>BrowserWindow</code> module will emit events when the renderer process crashes or hangs. You can listen for these events and give users the chance to reload, wait or close that window.</h3>
10
10
11
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/browser-window">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
11
+
<p>Open the <ahref="http://electron.atom.io/docs/api/browser-window">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
Copy file name to clipboardExpand all lines: sections/windows/windows.html
+4-4
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ <h3>The <code>BrowserWindow</code> module in Electron allows you to create a new
10
10
11
11
<p>Each browser window is a separate process, known as the renderer process. This process, like the main process that controls the life cycle of the app, has full access to the Node.js APIs.
12
12
13
-
<p>Open the <ahref="http://electron.atom.io/docs/latest/api/browser-window">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
13
+
<p>Open the <ahref="http://electron.atom.io/docs/api/browser-window">full API documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> in your browser.</p>
14
14
</div>
15
15
</header>
16
16
@@ -25,7 +25,7 @@ <h3>The <code>BrowserWindow</code> module in Electron allows you to create a new
25
25
</div>
26
26
<p>The <code>BrowserWindow</code> module gives you the ability to create new windows in your app. This main process module can be used from the renderer process with the <code>remote</code> module, as is shown in this demo.</p>
27
27
28
-
<p>There are a lot of options when creating a new window. A few are in this demo, but visit the <ahref="http://electron.atom.io/docs/latest/api/browser-window">documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
28
+
<p>There are a lot of options when creating a new window. A few are in this demo, but visit the <ahref="http://electron.atom.io/docs/api/browser-window">documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
<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>
56
56
57
-
<p>There are a lot of methods for controlling the state of the window such as the size, location, and focus status as well as events to listen to for window changes. Visit the <ahref="http://electron.atom.io/docs/latest/api/browser-windows">documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
57
+
<p>There are a lot of methods for controlling the state of the window such as the size, location, and focus status as well as events to listen to for window changes. Visit the <ahref="http://electron.atom.io/docs/api/browser-window">documentation<spanclass="u-visible-to-screen-reader">(opens in new window)</span></a> for the full list.</p>
0 commit comments