diff --git a/pages/component/general-event/general-event.uvue b/pages/component/general-event/general-event.uvue
index 756a320da4eb01e171e752e5cf69a0911e738cdc..de2c3650843962d2a836a8250a73aa2f1a640044 100644
--- a/pages/component/general-event/general-event.uvue
+++ b/pages/component/general-event/general-event.uvue
@@ -8,6 +8,7 @@
+
+ touchCancel Event:
+ touches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+ changedTouches:
+
+ touch[{{ index }}]:
+ pageX: {{ touch.pageX }}, pageY: {{ touch.pageY }}
+ clientX: {{ touch.clientX }}, clientY: {{ touch.clientY }}
+ screenX: {{ touch.screenX }}, screenY: {{ touch.screenY }}
+
+
touchMove Event:
touches:
@@ -161,6 +193,7 @@ export default {
title: 'general-event',
onTouchStartTime: 0,
touchStartEvent: null as TouchEvent | null,
+ touchCancelEvent: null as TouchEvent | null,
onTouchMoveTime: 0,
touchMoveEvent: null as TouchEvent | null,
onTouchEndTime: 0,
@@ -179,6 +212,10 @@ export default {
this.onTouchStartTime = Date.now()
console.log('onTouchStart')
},
+ onTouchCancel(e: TouchEvent){
+ this.touchCancelEvent = e
+ console.log('onTouchCancel')
+ },
onTouchMove(e: TouchEvent){
this.touchMoveEvent = e
this.onTouchMoveTime = Date.now()