HTML DOM HashChangeEvent
❮ เหตุการณ์ DOM ❮ วัตถุกิจกรรม
วัตถุ HashChangeEvent
เหตุการณ์ที่เกิดขึ้นเมื่อส่วนยึดของ URL เปลี่ยนไป เป็นของ HashChangeEvent Object
คุณสมบัติและวิธีการ HashChangeEvent
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 ❮ วัตถุกิจกรรม