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
<h3>The <code>menu</code> and <code>menuitem</code> modules can be used to create custom native menus.</h3>
9
+
<h3>The <code>Menu</code> and <code>MenuItem</code> modules can be used to create custom native menus.</h3>
10
10
11
11
<p>There are two kinds of menus: the application (top) menu and context (right-click) menu.</p>
12
12
@@ -20,7 +20,7 @@ <h3>The <code>menu</code> and <code>menuitem</code> modules can be used to creat
20
20
<divclass="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <spanclass="demo-meta-divider">|</span> Process: Main</div>
21
21
</button>
22
22
<divclass="demo-box">
23
-
<p>The <code>menu</code> and <code>menuitem</code> modules allow you to customize your application menu. If you don't set any menu, Electron will generate a minimal menu for your app by default.</p>
23
+
<p>The <code>Menu</code> and <code>MenuItem</code> modules allow you to customize your application menu. If you don't set any menu, Electron will generate a minimal menu for your app by default.</p>
24
24
25
25
<p>This app uses the code below to set the application menu. If you click the 'View' option in the application menu and then the 'App Menu Demo', you'll see an information box displayed.</p>
<p>A context, or right-click, menu can be created with the <code>menu</code> and <code>menuitem</code> modules as well. You can right-click anywhere in this app or click the demo button to see an example context menu.</p>
53
+
<p>A context, or right-click, menu can be created with the <code>Menu</code> and <code>MenuItem</code> modules as well. You can right-click anywhere in this app or click the demo button to see an example context menu.</p>
54
54
55
55
<p>In this demo we use the <code>ipcRenderer</code> module to show the context menu when explicitly calling it from the renderer process.</p>
56
-
<p>See the full <ahref="http://electron.atom.io/docs/api/web-contents/#event-context-menu">context-menu event documentation</a> for all the available properties.</p>
56
+
<p>See the full <ahref="http://electron.atom.io/docs/api/web-contents/#event-context-menu">context-menu event documentation</a> for all the available properties.</p>
0 commit comments