HTML DOM 스토리지 이벤트
StorageEvent 객체
창의 저장 영역에 변경 사항이 있을 때 발생하는 이벤트입니다.
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 |
상속된 속성 및 메서드
StorageEvent는 다음에서 모든 속성과 메서드를 상속합니다.
이벤트 유형
다음 이벤트 유형은 StorageEvent 개체에 속합니다.
Event | Description |
---|---|
storage | The event occurs when a Web Storage area is updated |