|
@@ -118,14 +118,22 @@ 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;
|
|
|
- y: number;
|
|
|
- pointerId: number;
|
|
|
- type: any;
|
|
|
+ /**
|
|
|
+ * X coordinate of touch.
|
|
|
+ */
|
|
|
+ x: number;
|
|
|
+ /**
|
|
|
+ * @param y Y coordinate of touch.
|
|
|
+ */
|
|
|
+ y: number;
|
|
|
+ /**
|
|
|
+ * @param pointerId Id of touch. Unique for each finger.
|
|
|
+ */
|
|
|
+ pointerId: number;
|
|
|
+ /**
|
|
|
+ * @param type Event type passed from DOM.
|
|
|
+ */
|
|
|
+ type: any;
|
|
|
}
|