HTML DOM HashChangeEvento
❮ Eventos DOM ❮ Objetos de eventos
El objeto HashChangeEvent
Los eventos que ocurren cuando cambia la parte ancla de la URL pertenecen al objeto HashChangeEvent.
Propiedades y métodos de 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 |
Propiedades y métodos heredados
HashChangeEvent hereda todas las propiedades y métodos de:
Tipos de eventos
Estos tipos de eventos pertenecen al objeto HashChangeEvent:
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |
❮ Eventos DOM ❮ Objetos de eventos