mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: Remove redundant 'Instance Events' Headline (#16865)
This commit is contained in:
committed by
John Kleinschmidt
parent
975a035d34
commit
6d005ff137
@@ -107,7 +107,7 @@ Inserts the `menuItem` to the `pos` position of the menu.
|
|||||||
|
|
||||||
### Instance Events
|
### Instance Events
|
||||||
|
|
||||||
Objects created with `new Menu` emit the following events:
|
Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit the following events:
|
||||||
|
|
||||||
**Note:** Some events are only available on specific operating systems and are
|
**Note:** Some events are only available on specific operating systems and are
|
||||||
labeled as such.
|
labeled as such.
|
||||||
@@ -139,11 +139,6 @@ A `MenuItem[]` array containing the menu's items.
|
|||||||
Each `Menu` consists of multiple [`MenuItem`](menu-item.md)s and each `MenuItem`
|
Each `Menu` consists of multiple [`MenuItem`](menu-item.md)s and each `MenuItem`
|
||||||
can have a submenu.
|
can have a submenu.
|
||||||
|
|
||||||
### Instance Events
|
|
||||||
|
|
||||||
Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit
|
|
||||||
the following events:
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
The `Menu` class is only available in the main process, but you can also use it
|
The `Menu` class is only available in the main process, but you can also use it
|
||||||
|
|||||||
Reference in New Issue
Block a user