HTML DOM TouchEvent
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ
TouchEvent အရာဝတ္ထု
အသုံးပြုသူသည် ထိတွေ့မှုအခြေခံသည့် စက်ကိုထိသောအခါ ဖြစ်ပွားသည့်ဖြစ်ရပ်များသည် TouchEvent Object နှင့်သက်ဆိုင်သည်။
TouchEvent Properties နှင့် Methods
Property/Method | Description |
---|---|
altKey | Returns whether the "ALT" key was pressed when the touch event was triggered |
changedTouches | Returns a list of all the touch objects whose state changed between the previous touch and this touch |
ctrlKey | Returns whether the "CTRL" key was pressed when the touch event was triggered |
metaKey | Returns whether the "meta" key was pressed when the touch event was triggered |
shiftKey | Returns whether the "SHIFT" key was pressed when the touch event was triggered |
targetTouches | Returns a list of all the touch objects that are in contact with the surface and where the touchstart event occured on the same target element as the current target element |
touches | Returns a list of all the touch objects that are currently in contact with the surface |
အမွေဆက်ခံထားသော ပိုင်ဆိုင်မှုများနှင့် နည်းလမ်းများ
TouchEvent သည် ဂုဏ်သတ္တိများနှင့် နည်းလမ်းအားလုံးကို အမွေဆက်ခံသည်-
ပွဲအမျိုးအစားများ
ဤဖြစ်ရပ်အမျိုးအစားများသည် TouchEvent Object နှင့်သက်ဆိုင်သည်-
Event | Description |
---|---|
ontouchcancel | The event occurs when the touch is interrupted |
ontouchend | The event occurs when a finger is removed from a touch screen |
ontouchmove | The event occurs when a finger is dragged across the screen |
ontouchstart | The event occurs when a finger is placed on a touch screen |
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ