doc: clarify menu item properties not available top-level (#15461)

This commit is contained in:
trop[bot] 2018-10-29 16:23:58 -07:00 committed by Shelley Vohr
parent 809534dca0
commit fd97fcf6f0

View file

@ -95,6 +95,8 @@ 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.
Lowercase `role`, e.g. `toggledevtools`, is still supported.
**Nota Bene:** The `enabled` and `visibility` properties are not available for top-level menu items in the tray on MacOS.
### Instance Properties
The following properties are available on instances of `MenuItem`: