提交 57b8fe63 编写于 作者: Z zhengqiyi

fix touchEvent doc bug

Signed-off-by: Nzhengqiyi <zhengqiyi2@huawei.com>
上级 85077e54
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
| touches | Array&lt;[TouchObject](#touchobject对象说明)&gt; | 全部手指信息。 | | touches | Array&lt;[TouchObject](#touchobject对象说明)&gt; | 全部手指信息。 |
| changedTouches | Array&lt;[TouchObject](#touchobject对象说明)&gt; | 当前发生变化的手指信息。 | | changedTouches | Array&lt;[TouchObject](#touchobject对象说明)&gt; | 当前发生变化的手指信息。 |
| stopPropagation | () => void | 阻塞事件冒泡。 | | stopPropagation | () => void | 阻塞事件冒泡。 |
| timestamp<sup>8+</sup> | number | 事件时间戳。触发事件时距离系统启动的时间间隔,单位秒。 | | timestamp<sup>8+</sup> | number | 事件时间戳。触发事件时距离系统启动的时间间隔,单位秒。 |
| target<sup>8+</sup> | [EventTarget](ts-universal-events-click.md#eventtarget8对象说明) | 触发事件的元素对象显示区域。 | | target<sup>8+</sup> | [EventTarget](ts-universal-events-click.md#eventtarget8对象说明) | 触发事件的元素对象显示区域。 |
| source<sup>8+</sup> | [SourceType](ts-gesture-settings.md#sourcetype枚举说明) | 事件输入设备。 | | source<sup>8+</sup> | [SourceType](ts-gesture-settings.md#sourcetype枚举说明) | 事件输入设备。 |
| getHistoricalPoints<sup>10+</sup> | Array&lt;[HistoricalPoint](#historicalpoint10对象说明)&gt;| 获取当前帧所有的历史点(不同设备每帧的触摸事件频率不同,当前帧所有的触摸事件被称为历史点)。 | | getHistoricalPoints<sup>10+</sup> | Array&lt;[HistoricalPoint](#historicalpoint10对象说明)&gt;| 获取当前帧所有的历史点(不同设备每帧的触摸事件频率不同,当前帧所有的触摸事件被称为历史点)。 |
...@@ -41,12 +41,12 @@ ...@@ -41,12 +41,12 @@
## HistoricalPoint<sup>10+</sup>对象说明 ## HistoricalPoint<sup>10+</sup>对象说明
| 名称 | 类型 | 描述 | | 名称 | 类型 | 描述 |
| ----------- | ----------------------------------- | ------------------------------------------ | | ----------- | ----------------------------------- | --------------------------------------------------------------- |
| touchObject | [TouchObject](#touchobject对象说明) | 历史点对应触摸事件的基础信息。 | | touchObject | [TouchObject](#touchobject对象说明) | 历史点对应触摸事件的基础信息。 |
| size | number | 历史点对应触摸事件的手指与屏幕的触摸区域大小。 | | size | number | 历史点对应触摸事件的手指与屏幕的触摸区域大小。 |
| force | number | 历史点对应触摸事件的压力大小。 | | force | number | 历史点对应触摸事件的压力大小。取值范围为0到1之间,压力越大值越大。 |
| timestamp | number | 历史点对应触摸事件的时间戳。 | | timestamp | number | 历史点对应触摸事件的时间戳。触发事件时距离系统启动的时间间隔,单位毫秒。|
## 示例 ## 示例
```ts ```ts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册