HTML DOM InputEvent
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ
InputEvent Object
ဖောင်ဒြပ်စင်တစ်ခု၏ အကြောင်းအရာပြောင်းလဲသွားသောအခါ ဖြစ်ပေါ်လာသည့် အဖြစ်အပျက်များသည် InputEvent Object နှင့်သက်ဆိုင်သည်။
InputEvent Properties နှင့် Methods
Property/Method | Description |
---|---|
data | Returns the inserted characters |
dataTransfer | Returns an object containing information about the inserted/deleted data |
getTargetRanges() | Returns an array containing target ranges that will be affected by the insertion/deletion |
inputType | Returns the type of the change (i.e "inserting" or "deleting") |
isComposing | Returns whether the state of the event is composing or not |
အမွေဆက်ခံထားသော ပိုင်ဆိုင်မှုများနှင့် နည်းလမ်းများ
InputEvent သည် ဂုဏ်သတ္တိများနှင့် နည်းလမ်းအားလုံးကို အမွေဆက်ခံသည်-
ပွဲအမျိုးအစားများ
ဤဖြစ်ရပ်အမျိုးအစားများသည် InputEvent Object နှင့်သက်ဆိုင်သည်-
Event | Description |
---|---|
oninput | The event occurs when an element gets user input |
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ