storage
storage
イベントは、ストレージエリア (localStorage
または sessionStorage
) が変更されたときに発生します。詳しくは Web Storage API をご覧ください。
一般情報
- 仕様
- Web Storage
- インターフェイス
StorageEvent
- バブリング
- 不可
- キャンセル可能か
- 不可
- ターゲット
- DefaultView (
<window>
) - 既定のアクション
- なし
プロパティ
Property | Type | Description |
---|---|---|
target 読取専用 |
EventTarget |
The event target (the topmost target in the DOM tree). |
type 読取専用 |
DOMString |
The type of event. |
bubbles 読取専用 |
Boolean |
Whether the event normally bubbles or not. |
cancelable 読取専用 |
Boolean |
Whether the event is cancellable or not. |
key 読取専用 |
DOMString (string) |
The key being changed. |
oldValue 読取専用 |
DOMString (string) |
The old value of the key being changed. |
newValue 読取専用 |
DOMString (string) |
The new value of the key being changed. |
url 読取専用 |
DOMString (string) |
The address of the document whose key changed. |
storageArea 読取専用 |
Storage |
The Storage object that was affected. |