mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Update API docs
This commit is contained in:
@@ -88,7 +88,8 @@ The following additional roles are available on macOS:
|
||||
* `window` - The submenu is a "Window" menu
|
||||
* `help` - The submenu is a "Help" menu
|
||||
* `services` - The submenu is a "Services" menu
|
||||
* `openrecent` - The submenu is a "Open Recent" menu
|
||||
* `recentdocuments` - The submenu is a "Open Recent" menu
|
||||
* `clearrecentdocuments` - Map to the `clearRecentDocuments` action
|
||||
|
||||
When specifying a `role` on macOS, `label` and `accelerator` are the only
|
||||
options that will affect the menu item. All other options will be ignored.
|
||||
|
||||
Reference in New Issue
Block a user