mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Add note for OS X about using role on MenuItem
This commit is contained in:
@@ -61,6 +61,8 @@ On OS X `role` can also have following additional values:
|
||||
* `help` - The submenu is a "Help" menu
|
||||
* `services` - The submenu is a "Services" menu
|
||||
|
||||
When specifying `role` on OS X, `label` and `accelerator` are the only options that will affect the MenuItem. All other options will be ignored.
|
||||
|
||||
## Instance Properties
|
||||
|
||||
The following properties (and no others) can be updated on an existing `MenuItem`:
|
||||
|
||||
Reference in New Issue
Block a user