HTML DOM StorageEvent
❮ Sự kiện DOM ❮ Đối tượng sự kiện
Đối tượng StorageEvent
Các sự kiện xảy ra khi có những thay đổi trong vùng lưu trữ của cửa sổ.
Thuộc tính và phương thức 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 |
Thuộc tính và phương thức kế thừa
StorageEvent kế thừa tất cả các thuộc tính và phương thức từ:
Các loại sự kiện
Các loại sự kiện này thuộc về Đối tượng StorageEvent:
Event | Description |
---|---|
storage | The event occurs when a Web Storage area is updated |
❮ Sự kiện DOM ❮ Đối tượng sự kiện