|
@@ -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.
|