未验证 提交 c96e7d03 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-universal-events-drag-drop.md.

Signed-off-by: NLiAn <lian15@huawei.com>
Signed-off-by: NLiAn <lian15@huawei.com>
上级 5b75ec3a
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
> >
> 应用本身预置的资源文件(即应用在安装前的HAP包中已经存在的资源文件)仅支持本地应用内拖拽。 > 应用本身预置的资源文件(即应用在安装前的HAP包中已经存在的资源文件)仅支持本地应用内拖拽。
ArkUI默认组件不支持拖拽。当组件的[draggable](ts-universal-attributes-drag-drop.md)属性设置为true时,可响应拖拽事件。此时,以下组件不需要配置数据传输,即可进行拖拽,其他组件需要开发者在onDragStart等接口中实现数据传输相关内容,才能完成拖拽。 ArkUI组件默认支持拖拽。
当以下组件的[draggable](ts-universal-attributes-drag-drop.md)属性设置为true时可以响应拖拽事件,此时,组件不需要配置数据传输,即可进行拖拽。其他组件需要开发者将[draggable](ts-universal-attributes-drag-drop.md)属性设置为true且在onDragStart等接口中实现数据传输相关内容,才能完成拖拽。
- 默认支持拖拽(拖入和拖出)的组件:Search、TextInput、TextArea - 默认支持拖拽(拖入和拖出)的组件:Search、TextInput、TextArea
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册