Evento de armazenamento HTML DOM
❮ Eventos DOM ❮ Objetos de evento
O objeto StorageEvent
Eventos que ocorrem quando há alterações na área de armazenamento da janela.
Propriedades e métodos do StorageEvent
Property/Method | Description |
---|---|
key | Returns the key of the changed storage item |
newValue | Returns the new value of the changed storage item |
oldValue | Returns the old value of the changed storage item |
storageArea | Returns an object representing the affected storage object |
url | Returns the URL of the changed item's document |
Propriedades e métodos herdados
O StorageEvent herda todas as propriedades e métodos de:
Tipos de eventos
Esses tipos de eventos pertencem ao objeto StorageEvent:
Event | Description |
---|---|
storage | The event occurs when a Web Storage area is updated |
❮ Eventos DOM ❮ Objetos de evento