HTML DOM HashChangeEvent
L'oggetto HashChangeEvent
Gli eventi che si verificano quando la parte di ancoraggio dell'URL cambia, appartiene all'oggetto HashChangeEvent.
Proprietà e metodi di 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 |
Proprietà e metodi ereditati
HashChangeEvent eredita tutte le proprietà e i metodi da:
Tipi di eventi
Questi tipi di eventi appartengono all'oggetto HashChangeEvent:
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |