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
Copy file name to clipboardExpand all lines: sections/native-ui/dialogs.html
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ <h3>The <code>dialog</code> module in Electron allows you to use native system d
17
17
<divclass="demo">
18
18
<divclass="demo-wrapper">
19
19
<buttonid="open-file-demo-toggle" class="js-container-target demo-toggle-button">Open a File or Directory
20
-
<divclass="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <spanclass="demo-meta-divider">|</span> Process: Main</div>
20
+
<divclass="demo-meta u-avoid-clicks">Supports: Win, macOS, Linux <spanclass="demo-meta-divider">|</span> Process: Main</div>
21
21
</button>
22
22
<divclass="demo-box">
23
23
<divclass="demo-controls">
@@ -32,8 +32,8 @@ <h5>Main Process</h5>
32
32
33
33
<divclass="demo-protip">
34
34
<h2>ProTip</h2>
35
-
<strong>The sheet-style dialog on OS X.</strong>
36
-
<p>On OS X you can choose between a "sheet" dialog or a default dialog. The sheet version descends from the top of the window. To use sheet version, pass the <code>window</code> as the first argument in the dialog method.</p>
35
+
<strong>The sheet-style dialog on macOS.</strong>
36
+
<p>On macOS you can choose between a "sheet" dialog or a default dialog. The sheet version descends from the top of the window. To use sheet version, pass the <code>window</code> as the first argument in the dialog method.</p>
<divclass="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <spanclass="demo-meta-divider">|</span> Process: Main</div>
74
+
<divclass="demo-meta u-avoid-clicks">Supports: Win, macOS, Linux <spanclass="demo-meta-divider">|</span> Process: Main</div>
75
75
</button>
76
76
<divclass="demo-box">
77
77
<divclass="demo-controls">
@@ -80,7 +80,7 @@ <h5>Main Process</h5>
80
80
</div>
81
81
<p>In this demo, the <code>ipc</code> module is used to send a message from the renderer process instructing the main process to launch the information dialog. Options may be provided for responses which can then be relayed back to the renderer process.</p>
82
82
83
-
<p>Note: The <code>title</code> property is not displayed in OS X.</p>
83
+
<p>Note: The <code>title</code> property is not displayed in macOS.</p>
84
84
85
85
<p>An information dialog can contain an icon, your choice of buttons, title and message.</p>
0 commit comments