HTML DOM HashChangeEvent
❮ Wydarzenia DOM ❮ Obiekty zdarzeń
Obiekt HashChangeEvent
Zdarzenia, które występują, gdy zakotwiczona część adresu URL ulega zmianie, należą do obiektu HashChangeEvent.
Właściwości i 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 |
Dziedziczone właściwości i metody
HashChangeEvent dziedziczy wszystkie właściwości i metody z:
Rodzaje wydarzeń
Te typy zdarzeń należą do obiektu HashChangeEvent:
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |
❮ Wydarzenia DOM ❮ Obiekty zdarzeń