diff --git a/zh-cn/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md b/zh-cn/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md index ed1e4495a6798ce533d8f1a9966ff3d8ae786a3c..9ab4f8912c9090f474adbd8ee0b8e3f3e65a7720 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md +++ b/zh-cn/application-dev/reference/apis/js-apis-arkui-drawableDescriptor.md @@ -17,7 +17,7 @@ import { DrawableDescriptor, LayeredDrawableDescriptor } from '@ohos.arkui.drawa ## DrawableDescriptor.constructor constructor() -创建DrawableDescriptor或LayeredDrawableDescriptor对象。对象构造需要使用全球化接口[getDrawableDescriptor](js-apis-resource-manager.md##getdrawabledescriptor)或[getDrawableDescriptorByName](js-apis-resource-manager.md##getdrawabledescriptorbyname)。 +创建DrawableDescriptor或LayeredDrawableDescriptor对象。对象构造需要使用全球化接口[getDrawableDescriptor](js-apis-resource-manager.md#getdrawabledescriptor)或[getDrawableDescriptorByName](js-apis-resource-manager.md#getdrawabledescriptorbyname)。 **系统接口:** 此接口为系统接口。 diff --git a/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md b/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md index 7483e00c88d4d0c6dc1f1a0652b71fea1b5aa70a..5c3d84a57f7637d25763872ba8850c69cb1a493a 100644 --- a/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md +++ b/zh-cn/application-dev/reference/arkui-ts/Readme-CN.md @@ -40,7 +40,7 @@ - [分布式迁移标识](ts-universal-attributes-restoreId.md) - [前景色设置](ts-universal-attributes-foreground-color.md) - [组件内容模糊](ts-universal-attributes-foreground-blur-style.md) - - [点击回弹](ts-universal-attributes-click-effect.md) + - [点击回弹效果](ts-universal-attributes-click-effect.md) - [无障碍属性](ts-universal-attributes-accessibility.md) - 触摸交互控制 - [触摸热区设置](ts-universal-attributes-touch-target.md) @@ -117,6 +117,7 @@ - [Column](ts-container-column.md) - [ColumnSplit](ts-container-columnsplit.md) - [Counter](ts-container-counter.md) + - [EffectComponent](ts-container-effectcomponent.md) - [Flex](ts-container-flex.md) - [FlowItem](ts-container-flowitem.md) - [FormLink](ts-container-formlink.md) @@ -142,7 +143,6 @@ - [TabContent](ts-container-tabcontent.md) - [UIExtensionComponent](ts-container-ui-extension-component.md) - [WaterFlow](ts-container-waterflow.md) - - [EffectComponent](ts-container-effectcomponent.md) - 媒体组件 - [Video](ts-media-components-video.md) - 绘制组件 diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-navdestination.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-navdestination.md index fd2ca1a9b280cbea25ead154b267da9ae8167e85..5f4904999aa1b210f774b06f1dad54ed25d690b8 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-navdestination.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-navdestination.md @@ -26,7 +26,7 @@ NavDestination() | 名称 | 参数类型 | 描述 | | ------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| title | string \| [CustomBuilder](ts-types.md#custombuilder8) \| [NavigationCommonTitle](ts-basic-components-navigation.md#navigationcommontitle类型说明) \| [NavigationCustomTitle](ts-basic-components-navigation.md##navigationcustomtitle类型说明) | 页面标题。
**说明:**
使用NavigationCustomTitle类型设置height高度时,titleMode属性不会生效。
字符串超长时,如果不设置副标题,先缩小再换行2行后以...截断。如果设置副标题,先缩小后以...截断。 | +| title | string \| [CustomBuilder](ts-types.md#custombuilder8) \| [NavigationCommonTitle](ts-basic-components-navigation.md#navigationcommontitle类型说明) \| [NavigationCustomTitle](ts-basic-components-navigation.md#navigationcustomtitle类型说明) | 页面标题。
**说明:**
使用NavigationCustomTitle类型设置height高度时,titleMode属性不会生效。
字符串超长时,如果不设置副标题,先缩小再换行2行后以...截断。如果设置副标题,先缩小后以...截断。 | | hideTitleBar | boolean | 是否显示标题栏。
默认值:false
true: 隐藏标题栏。
false: 显示标题栏。 | ## 事件 diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-click-effect.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-click-effect.md index ee0065f626e3e91548618f2c602f5a479b191d10..31e254f8fa45296c20eb8f18b03caae211178e0e 100755 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-click-effect.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-click-effect.md @@ -7,20 +7,20 @@ > 从API Version 10开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。 -### 属性 +## 属性 | 名称 | 参数类型 | 描述 | | ----------- | ------------------------------------------- | ------------------------------------------------------------ | | clickEffect | [ClickEffect](#clickeffect对象说明) \| null | 设置当前组件点击回弹效果。
**说明:**
可通过undefined或者null取消点击回弹效果。
不建议在组件大小动态变化的场景中使用该功能。
当组件无法触发通用事件时,不支持该属性。 | -### ClickEffect对象说明 +## ClickEffect对象说明 | 名称 | 参数类型 | 必填 | 描述 | | ----- | ----------------------------------------------------------- | ---- | ------------------------------------------------------------ | | level | [ClickEffectLevel](ts-appendix-enums.md#clickeffectlevel10) | 是 | 设置当前组件点击回弹效果。
**说明:**
level等于undefined或者null时, ClickEffect采用ClickEffectLevel.LIGHT对应的回弹效果, 缩放比参照scale说明。 | | scale | number | 否 | 回弹缩放比例,支持在设置ClickEffectLevel的基础上微调回弹缩放比例。
**说明:**
level等于ClickEffectLevel.LIGHT时,默认值:0.90
level等于ClickEffectLevel.MIDDLE或者ClickEffectLevel.HEAVY时,默认值:0.95
level等于undefined或者null时,level为ClickEffectLevel.LIGHT,默认值:0.90
scale等于undefined或者null时,scale与当前设置的level对应的默认缩放比相同。
| -### 示例 +## 示例 ```ts // xxx.ets diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-drag-drop.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-drag-drop.md index b6fdbb6102b2f24ea840502baeaaf2c6bb22d471..92b52a7f8b6867d173c717b63bd5a31b70041f6c 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-drag-drop.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-drag-drop.md @@ -6,7 +6,7 @@ > > 从API Version 10开始支持。后续版本如有新增内容,则采用上角标单独标记该内容的起始版本。 -ArkUI组件默认支持拖拽。 +ArkUI组件默认不支持拖拽。 当以下组件的draggable属性设置为true时可以响应拖拽事件,此时,组件不需要配置数据传输,即可进行拖拽。其他组件需要开发者将draggable属性设置为true且在onDragStart等接口中实现数据传输相关内容,才能完成拖拽。 diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-drag-drop.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-drag-drop.md index a9309ac3e26c482aecda550352b57fde64676a1b..053a6e4a90e9f480cfcb9ee24f4b9676ba6a18d1 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-drag-drop.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-events-drag-drop.md @@ -8,7 +8,7 @@ > > 应用本身预置的资源文件(即应用在安装前的HAP包中已经存在的资源文件)仅支持本地应用内拖拽。 -ArkUI组件默认支持拖拽。 +ArkUI组件默认不支持拖拽。 当以下组件的[draggable](ts-universal-attributes-drag-drop.md)属性设置为true时可以响应拖拽事件,此时,组件不需要配置数据传输,即可进行拖拽。其他组件需要开发者将[draggable](ts-universal-attributes-drag-drop.md)属性设置为true且在onDragStart等接口中实现数据传输相关内容,才能完成拖拽。 diff --git a/zh-cn/application-dev/reference/errorcodes/Readme-CN.md b/zh-cn/application-dev/reference/errorcodes/Readme-CN.md index 5b4332201142200ab3d3de57c0300979ee061418..a1f4847bd3210c5ff1e5bb57cc3a064288251619 100644 --- a/zh-cn/application-dev/reference/errorcodes/Readme-CN.md +++ b/zh-cn/application-dev/reference/errorcodes/Readme-CN.md @@ -14,12 +14,12 @@ - [事件错误码](errorcode-CommonEventService.md) - [通知错误码](errorcode-notification.md) - [DistributedNotificationService错误码](errorcode-DistributedNotificationService.md) - - [拖拽事件错误码](errorcode-drag-event.md) - UI界面 - [动画错误码](errorcode-animator.md) - [弹窗错误码](errorcode-promptAction.md) - [页面路由错误码](errorcode-router.md) - [用户界面外观服务错误码](errorcode-uiappearance.md) + - [拖拽事件错误码](errorcode-drag-event.md) - 图形图像 - [色彩管理错误码](errorcode-colorspace-manager.md) - [屏幕错误码](errorcode-display.md)