Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
StorageEvent 인터페이스는 storage 이벤트가 구현합니다. storage 이벤트는 window에서 접근 가능한 저장소가 다른 문서에서 변경될 경우 발생합니다.
Event StorageEvent새로 생성한 StorageEvent 객체를 반환합니다.
부모 인터페이스인 Event의 속성을 상속합니다.
key 읽기 전용바뀐 키를 나타내는 DOMString을 반환합니다. clear() 메서드에 의해 발생한 이벤트에서는 null입니다.
newValue 읽기 전용key가 가리키는 새로운 값을 나타내는 DOMString을 반환합니다. clear() 메서드에 의해, 또는 key가 저장소에서 제거되어 발생한 이벤트에서는 null입니다.
oldValue 읽기 전용key가 가리키던 원래 값을 나타내는 DOMString을 반환합니다. 저장소에 key를 새로 추가해서 발생한 경우, 이전 값이 존재할 수 없으므로 oldValue도 null입니다.
storageArea 읽기 전용영향을 받은 저장소를 나타내는 Storage 객체를 반환합니다.
url 읽기 전용key를 바꾼 문서의 URL DOMString을 반환합니다.
부모 인터페이스인 Event의 메서드를 상속합니다.
| HTML # the-storageevent-interface |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2022년 12월 29일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.