HTML DOM HashChangeEvent
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ
HashChangeEvent Object
URL ၏ ကျောရိုးတစ်စိတ်တစ်ပိုင်းကို ပြောင်းလဲသည့်အခါ ဖြစ်ပေါ်သည့်ဖြစ်ရပ်များသည် HashChangeEvent Object နှင့် သက်ဆိုင်ပါသည်။
HashChangeEvent Properties နှင့် Methods
Property/Method | Description |
---|---|
newURL | Returns the URL of the document, after the hash has been changed |
oldURL | Returns the URL of the document, before the hash was changed |
အမွေဆက်ခံထားသော ပိုင်ဆိုင်မှုများနှင့် နည်းလမ်းများ
HashChangeEvent သည် ဂုဏ်သတ္တိများနှင့် နည်းလမ်းအားလုံးကို အမွေဆက်ခံသည်-
ပွဲအမျိုးအစားများ
ဤဖြစ်ရပ်အမျိုးအစားများသည် HashChangeEvent Object နှင့် သက်ဆိုင်သည်-
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |
❮ DOM ပွဲများ ❮ ဖြစ်ရပ်အရာဝတ္ထုများ