浏览代码

Fix: Label paramiters of new interface.

duncan law 6 年之前
父节点
当前提交
3e1f9c1dc1
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/Events/pointerEvents.ts

+ 4 - 0
src/Events/pointerEvents.ts

@@ -118,6 +118,10 @@ export class PointerInfo extends PointerInfoBase {
 
 /**
  * Data relating to a touch event on the screen.
+ * @param x X coordinate of touch.
+ * @param y Y coordinate of touch.
+ * @param pointerId Id of touch. Unique for each finger.
+ * @param type Event type passed from DOM.
  */
 export interface PointerTouch {
   x: number;