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

This commit is contained in:
trop[bot]
2018-10-29 16:23:48 -07:00
committed by Shelley Vohr
parent 5a73ec2ec8
commit d158cce9a3

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`: