Skip to content

Commit a950da9

Browse files
committed
Camel case module names
1 parent bd0eb7a commit a950da9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sections/menus/menus.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1>
66
<svg class="section-icon"><use xlink:href="assets/img/icons.svg#icon-menu"></use></svg>
77
Customize Menus
88
</h1>
9-
<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>
1010

1111
<p>There are two kinds of menus: the application (top) menu and context (right-click) menu.</p>
1212

@@ -20,7 +20,7 @@ <h3>The <code>menu</code> and <code>menuitem</code> modules can be used to creat
2020
<div class="demo-meta u-avoid-clicks">Supports: Win, OS X, Linux <span class="demo-meta-divider">|</span> Process: Main</div>
2121
</button>
2222
<div class="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>
2424

2525
<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>
2626
<h5>Main Process</h5>
@@ -50,10 +50,10 @@ <h2>ProTip</h2>
5050
<div class="demo-controls">
5151
<button class="demo-button" id="context-menu">View Demo</button>
5252
</div>
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>
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>
5454

5555
<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 <a href="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 <a href="http://electron.atom.io/docs/api/web-contents/#event-context-menu">context-menu event documentation</a> for all the available properties.</p>
5757
<h5>Main Process</h5>
5858
<pre><code data-path="main-process/menus/context-menu.js"></pre></code>
5959
<h5>Renderer Process</h5>

0 commit comments

Comments
 (0)