Remove the closed event of Menu
The callback of Menu.popup does more things, and there is actually no request for the closed event.
This commit is contained in:
parent
73d78d345a
commit
46330ac2a9
6 changed files with 1 additions and 50 deletions
|
@ -115,13 +115,6 @@ can have a submenu.
|
|||
Objects created with `new Menu` or returned by `Menu.buildFromTemplate` emit
|
||||
the following events:
|
||||
|
||||
#### Event: 'closed'
|
||||
|
||||
Emitted when the menu is closed.
|
||||
|
||||
Note that one menu can be shown for multiple windows, and in this case the
|
||||
`closed` event would be emitted for multiple times.
|
||||
|
||||
## Examples
|
||||
|
||||
The `Menu` class is only available in the main process, but you can also use it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue