HTML DOM DragEvent
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ
DragEvent Object
ဒြပ်စင်များကို ဆွဲယူခြင်း နှင့်/သို့မဟုတ် ပြုတ်ကျသည့်အခါ ဖြစ်ပေါ်သည့် ဖြစ်ရပ်များသည် DragEvent Object နှင့် သက်ဆိုင်ပါသည်။
DragEvent Properties နှင့် Methods
Property/Method | Description |
---|---|
dataTransfer | Returns the data that is dragged/dropped |
အမွေဆက်ခံထားသော ပိုင်ဆိုင်မှုများနှင့် နည်းလမ်းများ
DragEvent သည် ဂုဏ်သတ္တိများနှင့် နည်းလမ်းအားလုံးကို အမွေဆက်ခံသည်-
ပွဲအမျိုးအစားများ
ဤဖြစ်ရပ်အမျိုးအစားများသည် DragEvent Object နှင့်သက်ဆိုင်သည်-
Event | Description |
---|---|
ondrag | The event occurs when an element is being dragged |
ondragend | The event occurs when the user has finished dragging an element |
ondragenter | The event occurs when the dragged element enters the drop target |
ondragleave | The event occurs when the dragged element leaves the drop target |
ondragover | The event occurs when the dragged element is over the drop target |
ondragstart | The event occurs when the user starts to drag an element |
ondrop | The event occurs when the dragged element is dropped on the drop target |
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ