HTML DOM HashChangeEvent
❮ Události DOM ❮ Objekty událostí
Objekt HashChangeEvent
Události, ke kterým dojde, když se změní kotevní část adresy URL, patří do objektu HashChangeEvent.
Vlastnosti a metody 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 |
Dědičné vlastnosti a metody
HashChangeEvent zdědí všechny vlastnosti a metody z:
Typy událostí
Tyto typy událostí patří do HashChangeEvent Object:
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |
❮ Události DOM ❮ Objekty událostí