docs: add specific options for MenuItem.role (#18807)

This commit is contained in:
trop[bot]
2019-06-14 23:29:34 -07:00
committed by Shelley Vohr
parent eeccdc2d5c
commit b56ca98b72

View File

@@ -151,7 +151,7 @@ A `String` indicating the type of the item.
#### `menuItem.role`
A `String` (optional) indicating the item's role, if set.
A `String` (optional) indicating the item's role, if set. Can be `undo`, `redo`, `cut`, `copy`, `paste`, `pasteandmatchstyle`, `delete`, `selectall`, `reload`, `forcereload`, `toggledevtools`, `resetzoom`, `zoomin`, `zoomout`, `togglefullscreen`, `window`, `minimize`, `close`, `help`, `about`, `services`, `hide`, `hideothers`, `unhide`, `quit`, `startspeaking`, `stopspeaking`, `close`, `minimize`, `zoom`, `front`, `appMenu`, `fileMenu`, `editMenu`, `viewMenu` or `windowMenu`
#### `menuItem.accelerator`