From 2bd94293e01c768e6e8d6d2f157ff6fef6040ac8 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 29 Oct 2018 13:04:25 -0700 Subject: [PATCH] doc: clarify menu item properties not available top-level (#15458) --- docs/api/menu-item.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/menu-item.md b/docs/api/menu-item.md index 11b9ba5ff..ad2a0a3b0 100644 --- a/docs/api/menu-item.md +++ b/docs/api/menu-item.md @@ -108,6 +108,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`: