diff --git a/api/@internal/component/ets/index-full.d.ts b/api/@internal/component/ets/index-full.d.ts index fe915f8660f4115ef29dddc2e0d7078fc5e6e760..d8d4e8405924132080a61cd52730ea0e5f30cda2 100644 --- a/api/@internal/component/ets/index-full.d.ts +++ b/api/@internal/component/ets/index-full.d.ts @@ -54,6 +54,9 @@ /// /// /// +/// +/// +/// /// /// /// diff --git a/api/@internal/component/ets/menu_item.d.ts b/api/@internal/component/ets/menu_item.d.ts index f241ce1bc5365cac4d2bb40be2bc04fb74b7a697..7bcf4f78b87d083235a56a69dedf19e635c3e5e0 100644 --- a/api/@internal/component/ets/menu_item.d.ts +++ b/api/@internal/component/ets/menu_item.d.ts @@ -70,13 +70,13 @@ * Whether the relevant check icon is displayed when a menu item is selected. * @since 9 */ - selectIcon(value: boolean); + selectIcon(value: boolean): MenuItemAttribute; /** * Triggers a callback when a menu item is selected or unchecked. * @param callback */ - onChange(callback: (selected: boolean) => void); + onChange(callback: (selected: boolean) => void): MenuItemAttribute; } declare const MenuItem: MenuItemInterface; diff --git a/build-tools/collect_application_api/tsconfig.json b/build-tools/collect_application_api/tsconfig.json index 214f5851ed0096a4332651c8b3920ccca18a9c9e..4c80832a706f1a2a647a3dafc3a18f32c830c8f0 100644 --- a/build-tools/collect_application_api/tsconfig.json +++ b/build-tools/collect_application_api/tsconfig.json @@ -45,6 +45,8 @@ "LoadingProgress", "Marquee", "Menu", + "MenuItem", + "MenuItemGroup", "Navigation", "Navigator", "Option", @@ -291,6 +293,16 @@ "type": "MenuAttribute", "instance": "MenuInstance" }, + { + "name": "MenuItem", + "type": "MenuItemAttribute", + "instance": "MenuItemInstance" + }, + { + "name": "MenuItemGroup", + "type": "MenuItemGroupAttribute", + "instance": "MenuItemGroupInstance" + }, { "name": "Navigation", "type": "NavigationAttribute",