Skip to content

Commit 6d005ff

Browse files
Aayush ChhabraJohn Kleinschmidt
authored andcommitted
docs: Remove redundant 'Instance Events' Headline (electron#16865)
1 parent 975a035 commit 6d005ff

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/api/menu.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Inserts the `menuItem` to the `pos` position of the menu.
107107

108108
### Instance Events
109109

110-
Objects created with `new Menu` emit the following events:
110+
Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit the following events:
111111

112112
**Note:** Some events are only available on specific operating systems and are
113113
labeled as such.
@@ -139,11 +139,6 @@ A `MenuItem[]` array containing the menu's items.
139139
Each `Menu` consists of multiple [`MenuItem`](menu-item.md)s and each `MenuItem`
140140
can have a submenu.
141141

142-
### Instance Events
143-
144-
Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit
145-
the following events:
146-
147142
## Examples
148143

149144
The `Menu` class is only available in the main process, but you can also use it

0 commit comments

Comments
 (0)