docs: fix MenuItem windowMenu role description (#17065)

It was changed in https://github.com/electron/electron/pull/15930
This commit is contained in:
Sindre Sorhus 2019-02-25 20:34:32 +07:00 committed by Shelley Vohr
parent 1674388028
commit df5305d6a7

View file

@ -85,7 +85,7 @@ The `role` property can have following values:
* `fileMenu` - Whole default "File" menu (Close / Quit)
* `editMenu` - Whole default "Edit" menu (Undo, Copy, etc.).
* `viewMenu` - Whole default "View" menu (Reload, Toggle Developer Tools, etc.)
* `windowMenu` - Whole default "Window" menu (Minimize, Close, etc.).
* `windowMenu` - Whole default "Window" menu (Minimize, Zoom, etc.).
The following additional roles are available on _macOS_: