mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
Panel支持配置高度自适应,修改枚举值
Signed-off-by: zhangjiayong1 <zhangjiayong3@huawei.com>
This commit is contained in:
parent
2d4694c3ca
commit
b3e32db559
8
api/@internal/component/ets/panel.d.ts
vendored
8
api/@internal/component/ets/panel.d.ts
vendored
@ -152,19 +152,21 @@ declare enum PanelType {
|
||||
|
||||
/**
|
||||
* Enum for custom content display area.
|
||||
* @enum number
|
||||
*
|
||||
* @enum { string }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
*/
|
||||
declare enum PanelHeight {
|
||||
/**
|
||||
* The Panel adapt to the content height.
|
||||
* The Panel adapts to the content height.
|
||||
*
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 10
|
||||
*/
|
||||
WRAP_CONTENT = 0,
|
||||
WRAP_CONTENT = 'wrapContent',
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -866,3 +866,4 @@ unadjustable
|
||||
unprepare
|
||||
unchained
|
||||
sar
|
||||
adapts
|
Loading…
Reference in New Issue
Block a user