Browse Source

Update API docs

Zhuo Lu 7 years ago
parent
commit
2de7b338ad
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/api/menu-item.md

+ 2 - 1
docs/api/menu-item.md

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