mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
ComposeListItem 5.0样式刷新需求 因需求裁剪回退
Signed-off-by: zhangzuhui <zhangzuhui1@h-partners.com>
This commit is contained in:
parent
57d1f820c7
commit
7f7ac990e0
@ -18,8 +18,6 @@
|
||||
* @kit ArkUI
|
||||
*/
|
||||
|
||||
import { TextModifier, ImageModifier } from './@ohos.arkui.modifier';
|
||||
|
||||
/**
|
||||
* Declare enum IconType
|
||||
* @enum { IconType }
|
||||
@ -334,38 +332,6 @@ export declare class ContentItem {
|
||||
* @since 11
|
||||
*/
|
||||
description?: ResourceStr;
|
||||
|
||||
/**
|
||||
* Image modifier for icon.
|
||||
* @type { ?ImageModifier }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @since 12
|
||||
*/
|
||||
iconImageModifier?: ImageModifier;
|
||||
|
||||
/**
|
||||
* Text modifier for primaryText.
|
||||
* @type { ?TextModifier }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @since 12
|
||||
*/
|
||||
primaryTextModifier?: TextModifier;
|
||||
|
||||
/**
|
||||
* Text modifier for secondaryText.
|
||||
* @type { ?TextModifier }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @since 12
|
||||
*/
|
||||
secondaryTextModifier?: TextModifier;
|
||||
|
||||
/**
|
||||
* Text modifier for description.
|
||||
* @type { ?TextModifier }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @since 12
|
||||
*/
|
||||
descriptionModifier?: TextModifier;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -558,22 +524,4 @@ export declare struct ComposeListItem {
|
||||
* @since 11
|
||||
*/
|
||||
@Prop operateItem?: OperateItem;
|
||||
|
||||
/**
|
||||
* Sets the compose item's space.Its length unit is vp.
|
||||
* @type { ?number }
|
||||
* @default the default value is 12.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @since 12
|
||||
*/
|
||||
@Prop itemSpace?: number;
|
||||
|
||||
/**
|
||||
* Sets the compose item's padding.
|
||||
* @type { ?LocalizedPadding }
|
||||
* @default the default value is { start: LengthMetrics.vp(12), end: LengthMetrics.vp(12)}.
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @since 12
|
||||
*/
|
||||
@Prop composeItemPadding?: LocalizedPadding;
|
||||
}
|
Loading…
Reference in New Issue
Block a user