HTML DOM ဖြစ်ရပ်အရာဝတ္ထုများ
အဖြစ်အပျက်အရာဝတ္ထုများ
HTML တွင် ဖြစ်ရပ်တစ်ခု ဖြစ်ပေါ်သောအခါ၊ ဖြစ်ရပ်သည် MouseEvent အရာဝတ္ထု၏ မောက်စ်ကလစ်ဖြစ်ရပ်ကဲ့သို့ အချို့သော ဖြစ်ရပ်အရာဝတ္တုတစ်ခုမှ သက်ဆိုင်ပါသည်။
Events အကြောင်း သင်ခန်းစာအတွက်၊ ကျွန်ုပ်တို့၏ JavaScript Events Tutorial ကို ဖတ်ရှုပါ ။
Event Object ၊
ဖြစ်ရပ်အရာဝတ္တုအားလုံးသည် Event Object ကိုအခြေခံပြီး ၎င်းတို့၏ ဂုဏ်သတ္တိများနှင့် နည်းလမ်းများအားလုံးကို အမွေဆက်ခံပါသည်။
Event Object | Description |
---|---|
Event | The parent of all event objects |
အခြား Event Objects များ
ဤအရာများသည် အဖြစ်အများဆုံး အဖြစ်အပျက် အရာဝတ္ထုများ ဖြစ်သည်-
Event Object | Description |
---|---|
AnimationEvent | For CSS animations |
ClipboardEvent | For modification of the clipboard |
DragEvent | For drag and drop interaction |
FocusEvent | For focus-related events |
HashChangeEvent | For changes in the anchor part of the URL |
InputEvent | For user input |
KeyboardEvent | For keyboard interaction |
MouseEvent | For mouse interaction |
PageTransitionEvent | For navigating to, and away from, web pages |
PopStateEvent | For changes in the history entry |
ProgressEvent | For the progress of loading external resources |
StorageEvent | For changes in the window's storage area. |
TouchEvent | For touch interaction |
TransitionEvent | For CSS transitions |
UiEvent | For user interface interaction |
WheelEvent | For mousewheel interaction |