From acf84a792961037f9804ff0b4aebc00127ff7149 Mon Sep 17 00:00:00 2001 From: Reynaldi Chernando <12949382+reynaldichernando@users.noreply.github.com> Date: Mon, 27 Apr 2026 12:51:08 +0700 Subject: [PATCH] Update docs setMenubar (#2845) --- src/docs/src/UI/setMenubar.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/docs/src/UI/setMenubar.md b/src/docs/src/UI/setMenubar.md index 40875bf51..3b26900b4 100755 --- a/src/docs/src/UI/setMenubar.md +++ b/src/docs/src/UI/setMenubar.md @@ -16,7 +16,7 @@ puter.ui.setMenubar(options) #### `options.items` (Array) -An array of menu items. Each item can be a menu or a menu item. Each menu item can have a label, an action, and a submenu. +An array of menu items. Each item can be a menu or a menu item. Each menu item can have a label, an action, and a submenu. An item can also be the string `-`, which indicates a separator. #### `options.items.label` (String) @@ -30,6 +30,10 @@ A function to execute when the menu item is clicked. An array of submenu items. +#### `options.items.disabled` (Boolean) + +Indicates whether the menu item is disabled. + ## Examples ```html;ui-set-menubar @@ -72,4 +76,4 @@ An array of submenu items. -``` \ No newline at end of file +```