ComposeTitleBar、SelectTitleBar、TabTitleBar的menu添加label参数

Signed-off-by: baozhenfeng <baozhenfeng@huawei.com>

Signed-off-by: baozhenfeng <baozhenfeng@huawei.com>
This commit is contained in:
baozhenfeng 2024-08-07 19:18:45 +08:00
parent c9e0d3cba0
commit d2f925b046
3 changed files with 27 additions and 0 deletions

View File

@ -49,6 +49,15 @@ export declare class ComposeTitleBarMenuItem {
*/
value: ResourceStr;
/**
* Icon label for this menu item.
* @type { ?ResourceStr }.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
* @since 13
*/
label?: ResourceStr;
/**
* Whether to enable this menu item.
* @type { ?boolean }.

View File

@ -49,6 +49,15 @@ export declare class SelectTitleBarMenuItem {
*/
value: ResourceStr;
/**
* Icon label for this menu item.
* @type { ?ResourceStr }.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
* @since 13
*/
label?: ResourceStr;
/**
* Whether to enable this menu item.
* @type { ?boolean }.

View File

@ -49,6 +49,15 @@ export declare class TabTitleBarMenuItem {
*/
value: ResourceStr;
/**
* Icon label for this menu item.
* @type { ?ResourceStr }.
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @atomicservice
* @since 13
*/
label?: ResourceStr;
/**
* Whether to enable this menu item.
* @type { ?boolean }.