HTML DOM StorageEvent
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 |