HTML DOM HashChangeEvent
❮ Eventos DOM ❮ Objetos de evento
O objeto HashChangeEvent
Os eventos que ocorrem quando a parte âncora da URL é alterada pertencem ao Objeto HashChangeEvent.
Propriedades e 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 |
Propriedades e métodos herdados
O HashChangeEvent herda todas as propriedades e métodos de:
Tipos de eventos
Esses tipos de eventos pertencem ao objeto HashChangeEvent:
Event | Description |
---|---|
onhashchange | The event occurs when there has been changes to the anchor part of a URL |
❮ Eventos DOM ❮ Objetos de evento