mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
ComposeTitleBar、SelectTitleBar、TabTitleBar的menu添加label参数
Signed-off-by: baozhenfeng <baozhenfeng@huawei.com> Signed-off-by: baozhenfeng <baozhenfeng@huawei.com>
This commit is contained in:
parent
c9e0d3cba0
commit
d2f925b046
@ -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 }.
|
||||
|
@ -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 }.
|
||||
|
@ -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 }.
|
||||
|
Loading…
Reference in New Issue
Block a user