Преглед изворни кода

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;