Acara Penyimpanan DOM HTML
Objek StorageEvent
Peristiwa yang terjadi ketika ada perubahan di area penyimpanan jendela.
Properti dan Metode 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 |
Properti dan Metode yang Diwarisi
StorageEvent mewarisi semua properti dan metode dari:
Jenis Acara
Jenis acara ini milik StorageEvent Object:
Event | Description |
---|---|
storage | The event occurs when a Web Storage area is updated |