提交 a0ae88b4 编写于 作者: S swx1239486

一多交互归一完善

Signed-off-by: Nswx1239486 <songqinqin4@huawei.com>
上级 8e3a052f
......@@ -12,15 +12,18 @@
基础输入对应的开发接口,以及当前支持情况如下表所示。
| 输入 | 开发接口 | 触控屏 | 鼠标 | 触控板 |
| 输入 | 开发接口 | 触控屏 | 触控板 | 鼠标
| -------- | -------- | -------- | -------- | -------- |
| 悬浮 | [onHover](../../reference/arkui-ts/ts-universal-attributes-hover-effect.md) | NA | √ | √ |
| 点击 | [onClick](../../reference/arkui-ts/ts-universal-events-click.md) | √ | √ | √ |
| 长按 | [LongPressGesture](../../reference/arkui-ts/ts-basic-gestures-longpressgesture.md) | √ | √ | × |
| 双击 | [TapGesture](../../reference/arkui-ts/ts-basic-gestures-tapgesture.md) | √ | √ | √ |
| 长按 | [LongPressGesture](../../reference/arkui-ts/ts-basic-gestures-longpressgesture.md) | √ | × | √ |
| 上下文菜单 | [ContentMenu](../../reference/arkui-ts/ts-universal-attributes-menu.md) | √ | √ | √ |
| 拖拽 | [Drag](../../reference/arkui-ts/ts-universal-attributes-drag-drop.md) | √ | √ | √ |
| 轻扫 | [SwipeGesture](../../reference/arkui-ts/ts-basic-gestures-swipegesture.md) | √ | √ | √ |
| 滚动及平移 | [PanGesture](../../reference/arkui-ts/ts-basic-gestures-pangesture.md) | √ | √ | √ |
| 缩放 | [PinchGesture](../../reference/arkui-ts/ts-basic-gestures-pinchgesture.md) | √ | √ | √ |
| 旋转 | [RotationGesture](../../reference/arkui-ts/ts-basic-gestures-rotationgesture.md) | √ | NA | √ |
| 旋转 | [RotationGesture](../../reference/arkui-ts/ts-basic-gestures-rotationgesture.md) | √ | √ | NA |
> **说明:**
> - 点击事件(onClick)其实是点击手势(TapGesture)的一个特殊场景(单指单次点击)。该场景使用的非常广泛,为了方便开发者使用及符合传统开发习惯,所以专门提供了开发接口。
......@@ -48,4 +51,4 @@
| onDragEnter | 绑定B组件,触控屏手指、鼠标移动进入B组件瞬间触发 |
| onDragMove | 绑定B组件,触控屏手指、鼠标在B组件内移动触发 |
| onDragLeave | 绑定B组件,触控屏手指、鼠标移动退出B组件瞬间触发 |
| onDrop | 绑定B组件,在B组件内,触控屏手指抬起、鼠标左键松开时触发 |
| onDrop | 绑定B组件,在B组件内,触控屏手指抬起、鼠标左键松开时触发 |
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册